Angle to Euler...

I have my ZYX rotation in axis angle ( 0 ~ 360 ), Im using Bullet Physics and Bullet require that the angles are in euler (setEuler) ( how can I do the convertion between the two types?


There are equivalent, maybe watch out for the rotation order.
If you have quaternions however :

In Bullet Physics:

  • yaw = y-axis
  • pitch = x-axis
  • roll = z-axis

So I believe your angle order should be YXZ. Also, you should use radians, not degrees (multiply your angles by PI/180).

Oh, and just to clear up the terminology: axis-angle means you have a rotation axis vector and an angle you’re rotating around it. Not the same thing as Euler angles.