Get the current Rotation of a mesh

Hi! My question might be a bit stupid and easy to answer.

I have a mesh which is constantly rotating which works great :

this.mesh.rotate(new Vector3(0, 0, 1), mySpeed);

When I tried to console.log the current rotation of the mesh:


It simply return Vector3 {_isDirty: false, _x: 0, _y: 0, _z: 0}

My question is, how can I know the current rotation of my mesh?

I think it is because rotate sets rotationQuaternion of the mesh not its rotation. A mesh cannot use both at the same time. Try console.log(this.mesh.rotationQuaterion)

You might want to read