zm123@Posted: Tue Mar 13, 2007 10:45 am :
Hi,

Anyone know how to transform a quaternion? For example, from left-hand to right-hand coordinate system:
quat.w = - quat.w
quat.y= - quat.y
how does that result come from?

I need to transform the quat from a z-axis up left-hand system to a y-axis up left-hand system, how can I do that? I tried this:
quat.w=-quat.w
temp=quat.y
quat.y=quat.z
quat.z=-temp

and

temp=quat.y
quat.y=quat.z
quat.z=-temp

But the output is correct only under some specific conditions for both.

Thanks for repply!

zm123@Posted: Tue Mar 13, 2007 10:45 am :
Hi,

Anyone know how to transform a quaternion? For example, from left-hand to right-hand coordinate system:
quat.w = - quat.w
quat.y= - quat.y
how does that result come from?

I need to transform the quat from a z-axis up left-hand system to a y-axis up left-hand system, how can I do that? I tried this:
quat.w=-quat.w
temp=quat.y
quat.y=quat.z
quat.z=-temp

and

temp=quat.y
quat.y=quat.z
quat.z=-temp

But the output is correct only under some specific conditions for both.

Thanks for repply!