why is setAngularVelocity done by Euler?

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

why is setAngularVelocity done by Euler?

Post 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?
User avatar
Erwin Coumans
Site Admin
Posts: 4221
Joined: Sun Jun 26, 2005 6:43 pm
Location: California, USA
Contact:

Re: why is setAngularVelocity done by Euler?

Post 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.
Post Reply