Babylon xzy coordinate system convert to xyz coordinate system


You can rotate and parent the mesh to a TransformNode, and use that node to do transformations, or you can rotate the mesh and recalculate the positions of the local vertices, like:

mesh.rotate(BABYLON.Axis.X/Y/Z, Math.PI/2, BABYLON.Space.LOCAL/WORLD);
1 Like

In this way, every imported mesh needs to be rotated

why not moving your camera then ?

I hope it is a scene like bender, the default up is the z axis

so you could simply move your camera to face the y axis and you should be in a similar setup. A repro in the playground would help understanding your problem.

1 Like

Have you tried checking this option when exporting files ?


I found the problem, thank you for your answers.
I should use Plane instead of Ground