Hello ![]()
rotation:BABYLON.Vector3defining the rotation of a mesh in EULER moderotationQuaternion:BABYLON.Quaternion(see it as a Vector4) defining the rotation of a mesh in QUATERNION moderotate(): Method for rotating around a specific axisaddRotation(): Method for adding Euler angles to the current rotation
Now if you wonder why using Quaternion, it’s usefull because it a way to avoid the Gimbal Lock problem of euler angles.
Best way to understand it is to open Blender and :
- Rotate a cube 90° on Y axis
- Now you cannot rotate global X anymore. Both X and Z rotation seems to be influencing the global Z axis and you are basically stuck. Rotating global X is now impossible.

++
Tricotou