Convert Quaternion to Angles between 0-360
Posted: Wed Jul 10, 2013 5:20 am
Hello everyone,
I know some portions of my question have been discussed already. However, I was not able to solve my problem completely.
At the moment I am trying to convert Quaternions, received through the NatNet SDK, to angles between 0 and 360 degrees (or 180 and -180 degrees alternatively) around the 3 axis X,Y,Z. If I use the current QuaternionToEuler function the angles of two axis only range from 180 to -180 and the third goes from 0 to 90 to 0 to -90 to 0.
Is there any possibility to get distinct values for the third axis too?
Thanks in advance.
Cheers,
-- Raedle
I know some portions of my question have been discussed already. However, I was not able to solve my problem completely.
At the moment I am trying to convert Quaternions, received through the NatNet SDK, to angles between 0 and 360 degrees (or 180 and -180 degrees alternatively) around the 3 axis X,Y,Z. If I use the current QuaternionToEuler function the angles of two axis only range from 180 to -180 and the third goes from 0 to 90 to 0 to -90 to 0.
Is there any possibility to get distinct values for the third axis too?
Thanks in advance.
Cheers,
-- Raedle