Jump to content
  • Advertisement

Archived

This topic is now archived and is closed to further replies.

etran1

why multiply by the inverse at the end of quaternion rotations

This topic is 5795 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''ve slowly been learning quaternions and I believe I''m almost ready to implement it but I just have one question. The formula for the rotation is p = qpq^-1. Now I''ve noticed that if I just do qp, I get a rotation of half the angle that I asked for. Now, when coverting the rotation vector and angles into quaternions, you take the angle and divide it by two. If you skipped the division, couldn''t you just do qp? The answer is most likely no but I''m curious to know what the answer is. Thanks in advance. Etran

Share this post


Link to post
Share on other sites
Advertisement
> If you skipped the division, couldn''t you just do qp?

No. This only works for vectors perpendicular to the axis of rotation. If all your vectors are like this then you can use this, but otherwise the two-sided version is necessary.

Share this post


Link to post
Share on other sites

  • Advertisement
×

Important Information

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

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!