Sign in to follow this  
eem

Math for parenting quaternions?

Recommended Posts

eem    100
I need to parent one quaternions rotations to another. I cannot find any page concerning the math behind this, could anyone point me in the right direction?

Share this post


Link to post
Share on other sites
eem    100
how would you prepend?

and what would doing that do exactly?

excuse my noobism, but I only just started to grasp quaternions in the past 12 hours...

Share this post


Link to post
Share on other sites
bzroom    647
Quaternions can be treated as orientation transformations just like matrices.

If ' denotes inverse then:

T * T' = Identity

C * P' = C-parented-to-P

Algebra:
C * P' * P = {thing you're looking for} * P;

Confirm:
C = {thing you're looking for} * P;

[Edited by - bzroom on February 16, 2010 5:41:43 PM]

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