2
$\begingroup$

I want to rotate an object using the z-x'-z'' convention of Euler using Animation Nodes.

enter image description here

What I've thought that I need to do is to rotate along the local axis of the object, first around the z, then around the x and then around the z again. If I create a rotation matrix, select the transformation orientation to local and then rotate first on the z, then on the x and then on the z I get the result that I want for the first two rotations, the last is done in the the original z, not in the modified local axis, so I can't use that: enter image description here

Is there a way to do the three rotations in local axis in the specific order using only animation nodes? I have other objects in my node tree that I don't want to transform along their local axis, so I rather prefer to avoid to select the local transformation orientation and do it purely in animation nodes:

enter image description here

Thanks! I hope that I explain myself

$\endgroup$

1 Answer 1

1
$\begingroup$

You can use Combine Matrices for doing any complex transformation.

enter image description here

$\endgroup$
1
  • $\begingroup$ Oh, thanks! And for doing a local transformation in Animation Nodes? I have other objects in my node tree that I don't want to transform along their local axis, so I rather prefer to avoid to select the local transformation orientation and do it purely in animation nodes $\endgroup$
    – Artichoke
    Apr 27, 2021 at 6:06

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .