Match the rotation of an object to the orientation of curve [SOLVED]

   4774   2   0
User Avatar
Member
39 posts
Joined: March 2020
Offline
I am trying to match the rotation of an object i've made in houdini, to the orientation of a 2 point curve i extracted from another object i imported.
You can get the length with the arclen function, but i am not sure how to get the orientation?


Edited by SnowballWar - Sept. 11, 2020 07:15:30

Attachments:
sdfx.png (196.3 KB)

User Avatar
Member
1872 posts
Joined: May 2006
Offline
Dihedral would be one way.

Attachments:
aim_along_line_with_dihedral.hip (92.7 KB)

http://www.tokeru.com/cgwiki [www.tokeru.com]
https://www.patreon.com/mattestela [www.patreon.com]
User Avatar
Member
39 posts
Joined: March 2020
Offline
Thank you, it's exactly what i wanted.
  • Quick Links