Sign in to follow this  
deltadream

Orientation offset

Recommended Posts

Hello, I have a problem and I hope someone might help me solve it. I have two orientations expressed as two euler angles (but I can transform them in matrix or in quaternion). I want to get the orientation offset from the two orientations, so I can apply it to another matrix (orientation). Does anyoe know how can I get the orientation offset from the first two orientations ? Thanks

Share this post


Link to post
Share on other sites
You have 2 orientations in world space, say A and B. You want the delta orientation, i.e. rotation that, when applied to A, transforms A to B?

If you convert to matrices, then the transform from A to B is Inverse(A) * B since

A * Inverse(A) * B = I * B = B.

Share this post


Link to post
Share on other sites

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