Claire Miquel
ClaireMiquel
About Me
Connect
LOCATION
Not Specified
WEBSITE
Houdini Skills
Availability
Not Specified
Recent Forum Posts
Matrix transformation - lacking rotation. Oct. 13, 2024, 1:03 p.m.
I am trying to learn how to use matrix in my workflow and am getting a little bit stuck.
I have a group of packed objects and want to replace them with other packed objects using the same position and rotation and scale.
So far I can get the objects to match in position but not in rotation. This is the code I am using, and attached is some screenshots.
I have a group of packed objects and want to replace them with other packed objects using the same position and rotation and scale.
So far I can get the objects to match in position but not in rotation. This is the code I am using, and attached is some screenshots.
matrix m = primintrinsic(0, "packedfulltransform", @ptnum); matrix m2 = primintrinsic(1, "packedfulltransform", @ptnum); v@P*=invert(m)*m2;