Hi,

**rotationQuaternion.toEulerAngles** is not returning the proper value when we have rotated the perticular mesh in the **X-axis** by **180° (1π rad)**.

Example:

Step 1: Create mesh

Step 2: Rotate mesh in X-axis by 180°

mesh.rotateAround(pt, new BABYLON.Vector3(1, 0, 0), Math.PI / 2 * 2);

Step 3: Convert Euler angles that can be used in mesh.rotation by doing rotation quaternion

mesh.rotationQuaternion.toEulerAngles();

In this scenario, expected output for x coordinate is 3.14 but we are getting 4.440892098500626e-16

Can you please help us over here?

Thanks,

Tejashwini