why is setAngularVelocity done by Euler?

Post Reply
PgrAm
Posts: 8
Joined: Sun Apr 15, 2012 3:34 pm

why is setAngularVelocity done by Euler?

Post by PgrAm » Tue Nov 06, 2012 12:54 am

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?

User avatar
Erwin Coumans
Site Admin
Posts: 4073
Joined: Sun Jun 26, 2005 6:43 pm
Location: California, USA
Contact:

Re: why is setAngularVelocity done by Euler?

Post by Erwin Coumans » Tue Nov 06, 2012 6:20 am

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.

Post Reply