I'm trying to do the following:
I have 2 frames, F1, F2, represented by matrices.
I need to align the Z axis of F1 to the Z axis of F2. I'm hoping to do
this using Quaternions, but I'm not clear
on the geometric interpretation of quaternion multiplication.
This is what I have:
1) get the angle b/n the 2 Z axes, and a normal vector to both
2) construct a quat from this angle/normal vector (Qmove)
3) construct a quat from F1 (Q1)
4) set F1 = quat_to_matrix( Qmove*Q1)
I don't get the result I need.
Thanks for your help.