I create a plane in Babylonjs, and I then rotate it 90 deg. about the x-axis so it’s now laying flat. However, when I then do a rotation about the y-axis, it actually rotates about the z-axis because the x, y, z directions are of when the plane was originally created, not of it’s current orientation. In Blender http://builder.openhmd.net/blender-hmd-viewport-temp/editors/3dview/object/editing/transform/clear_apply.html you can do an “apply rotate” to reset the x-y, and z-axes to be of the new rotation. Surely, there has to be something like “resetRotation” in bjs to do the same thing? Looking through the doc, but I can’t find anything.

This seemed to do it:

plane.setPivotMatrix(BABYLON.Matrix.RotationX (Math.PI / 2.0))