Y axis is inverted in BabylonJs

Hi,

I have attached 2 images of 3D View of Platform.
In the BabylonJs, Y-axis is inverted. How to view the same as the image in yellow color in the attached image?
3D view in Babylon with Y-axis inverted.
3D_View_Platform_BabylonJs

3D in orginal View.
3D_View_Platform

I have tried the obj file in Babylon Sandbox also, Y-axis is inverted.

Kindly help us in this scenario.

Thanks.

if I open obj file in windows 3D, the orientation is correct, but when uploaded to babylon, it become inverted

Try to set scene.useRightHandedSystem = true just after the scene is created and see if it helps.

Also, providing a repro PG would probably help finding a solution faster.

2 Likes

Thanks, after above line, its working fine.