Extract Transform from Matrix

   56   0   1
User Avatar
Member
1 posts
Joined: April 2017
Offline
Hello, please help me to understand how to solve this problem.

I have a scene where a cube is randomly rotated and moved. And I want to return it back to the center of the coordinate system. I create an attribute xform_cube (matrix 4x4) and then multiply the cube's P by this inverted matrix. Everything works.


Image Not Found

Image Not Found


But I try to do the same thing in another way using the extract transform node. I connect trans and the cube comes to the center of the coordinates. But when I connect rot, the rotation is strange.

Image Not Found

Image Not Found


Please tell me what I missed? Some auxiliary nodes for conversion, maybe?
  • Quick Links