Page 1 of 1

why is setAngularVelocity done by Euler?

Posted: Tue Nov 06, 2012 12:54 am
by PgrAm
I just realized when I was trying to use setAngularVelocity that it took its input as a Yaw Pitch Roll vector (I thinks that what it corresponds to). I was just wondering why setAngularVelocity did not have an overload using a quaternion which would make sense in many cases?

Re: why is setAngularVelocity done by Euler?

Posted: Tue Nov 06, 2012 6:20 am
by Erwin Coumans
Angular velocity is different from orientation.

Orientation can be described by quaternion or Euler angles.

The components of the Angular velocity vector are the velocities along each principal axis. Velocities are not angles.