Rine-Hart Posted 22 hours ago Share Posted 22 hours ago 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 Quote Link to comment Share on other sites More sharing options...
fencer Posted 5 hours ago Share Posted 5 hours ago Think how it works in the real world. If you need to align ends with the columns, maybe it must be so initially before doing wire sim? Quote Link to comment Share on other sites More sharing options...
Rine-Hart Posted 3 hours ago Author Share Posted 3 hours ago 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. Quote Link to comment Share on other sites More sharing options...
fencer Posted 2 hours ago Share Posted 2 hours ago The real world Quote Link to comment Share on other sites More sharing options...
fencer Posted 1 hour ago Share Posted 1 hour ago Myabe this one. wire_align_connections.hipnc Quote Link to comment Share on other sites More sharing options...
Rine-Hart Posted 51 minutes ago Author Share Posted 51 minutes ago 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! 1 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.