Jump to content

Move point group to position vector


Rine-Hart

Recommended Posts

I keep banging my head against a wall with this and know the solution may be super simple. 

I have a vellum wire sim where the wires snap to pts on columns. I would like to have a certain number of points at the end of the wires align to the normal of the point to which they are snapping, instead of dangling at weird angles. 

I would love to get this running in the solver to keep the overall wire sim looking smooth. My brain keeps farting over the vector math and now I must rest.

Any direction/assistance is always greatly appreciated. Also understand if this solution can be found on another topic 

 

VelWires.png

Link to comment
Share on other sites

Thank you so much! 

Fortunately, Houdini is not the real world, it's vector math magic. 

What I would like is to understand is the linear algebra behind moving a group of simulated points to align to a directional vector. 

I apologize if that wasn't clear from the above. Any assistance with the math involved in this would be greatly appreciated.

Link to comment
Share on other sites

Holy Cannolli!! This is a brilliantly elegant real world solution! Much better that the 'fix it in post' hack job I was thinking. 

This gives me a tremendous amount to work with. Let me try and implement some of this and I may return with more questions. 

Thank you so very much for taking the time to build this out. Greatly appreciated!

  • Like 1
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...