Math for parenting quaternions?

Started by
2 comments, last by bzroom 14 years, 2 months ago
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?
Advertisement
Use them like matrices. Prepend the parent's inverse to the intended child quaternion.
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...
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]

This topic is closed to new replies.

Advertisement