Hello,
I have another very basic and stupid question on my learning path. But I really don’t get it.
https://jsfiddle.net/gfn6p2Lo/12/
In this very basic example I create a shape and then I rotate it 90 degrees by Y axis.
After that, I want to rotate 45% by object’s local X axis (to make it fall halfway in the direction of its flat side normal), but either of these 2 operations produces the same wrong result:
mesh.rotation.x = Math.PI / 4
OR
mesh.rotation.z = Math.PI / 4
both ways it somehow rotates by object’s local Z axis, which is not the one I need. What am I missing?