Sign in to follow this  

Convert World Space Angles to Euler Angles

This topic is 492 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

So let's say I have a rotation as 3 float values - one for each axis. And I have 3 direction vectors of the object(2 should be enaugh, though). My rotation system only allows to use local Euler angles for rotation, however, I need to rotate in world space. How do I convert world space rotation angles to Euler angles using directional vectors?

Share this post


Link to post
Share on other sites

I"m somewhat confused as if you have 3 rotational value around each axis....what are these axes. I"m assuming this would be your frame of reference which would be world space. The 3 directional vectors for the object would be your local coordinate frame of reference. Are the 3 rotational value around this axes ?. If not, at a higher level, if you have a set of basis function that describes your object frame of reference in the world. You would have to first align that frame of reference with the world coordinate system ( this should just be the inverse rotation that produced the object frame of reference ). One the object frame of reference is aligned with the world, then any rotation applied to then would be done in world space.

Share this post


Link to post
Share on other sites

This topic is 492 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this