Download

How can I get the world rotation corresponding to the local rotation?

So my Problem is, I want to get the corresponding world rotation for every rotation my component is doing.
For example: My component is allready rotated 90° around the x-axis in local space. Now I rotate it for another 10° on the z-axis also in local space.
In Worldspace that would be a 10° rotation around the y-axis.
So for every additional local rotation I want to know what the rotation in world space would be to get the same result.

Why not record the values in world space as you’re going and use delta to find the world space transform?

delta.JPG