Jump to content
  • Advertisement
Sign in to follow this  
Atash

Rotating a rotation matrix around the global axes

This topic is 4317 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

I was wondering how one might go about rotating a rotation matrix around the global axes as opposed to the local axes (just multiplying the matrix by the other rotation matrix). I checked around google, but unfortunately didn't pull up anything. Does anyone have any (almost) easy way of doing this? Thanks in advance :)

Share this post


Link to post
Share on other sites
Advertisement
You can rotate a rotation matrix about either a local or global axis by multiplying it with a global axis rotation matrix on either the left or the right.

Let R be the rotation matrix and G be the global axis rotation matrix. When using column vectors, R*G is a local axis rotation and G*R is a global axis rotation. When using row vectors, G*R is a local axis rotation and R*G is a global axis rotation. [i.e. what John said.]

Does that answer your question?

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!