What I'm really looking for is to get from vector3 to euler angles.
I was thinking of converting a vector3 to a quaternion, and then using the eulerAngles method in the quaternion.
I want to be able to tell how many degrees away from Up the iphone's accelerometer is along a single axis.
asked Apr 10 '10 at 10:32 PM
I think you want to use Quaternion.LookRotation() to create a rotation facing that Vector then measure the angle of the new quaternion.
answered Apr 10 '10 at 11:48 PM