How to procedurally reference specific Pivot Points

   977   1   1
User Avatar
Member
6 posts
Joined: Oct. 2016
Offline
Hey everyone, I have a Houdini question.. is there a way to procedurally reference a pivot's transform orientation/rotation? I have an Edit SOP that's set to 'Local Frame by Connectivity', which is giving a pivot rotation that's intended. I then want to take a Transform SOP and underneath its 'pivot transform' channels, reference the XYZ rotation of the edit SOP's transform which is set correctly.

Otherwise, the Transform SOP is set to origin mode by default. Is there an easy way to do this? Thanks




Attachments:
Capture1.JPG (247.2 KB)
Capture2.JPG (288.9 KB)

User Avatar
Member
15 posts
Joined: March 2015
Offline
Hey,
I think I know what you mean...
Check out the attached scene file and see if it helps.

The pivot position can be accessed directly with looking up the points position with the point function.
For the rotations you can use dihedral and then convert that quaternion to degrees. Then add them to the transform pivots rotation paramater with the point function.

Attachments:
pivot_transform_form_point.hip (113.2 KB)

  • Quick Links