Is there a way to rotate an object around its x-axis by 90 degrees and then around its y-axis by another 90 degrees in three.js?
I experimented with the following code:
mesh.rotation.x = Math.PI * 0.5;
mesh.rotation.y = Math.PI * 0.5;
However, the object did not rotate as expected.