How to rotate model without affecting orientation (e.g., 'forward")

I’m loading a .glb mesh, and when I load it its orientation is off by 90 degrees around the y axis. I’ve tried using a transform rotation on the mesh but it then makes the mesh move a different direction than the camera. How can I rotate the mesh so it points forward when navigating it around?

Perhaps this needs to be fixed in the source mesh in Blender?

To be more correct, you are loading GLB model. It has 2 meshes in your case.
Example of rotation is here - https://playground.babylonjs.com/#6ULZID#9

2 Likes

Thank you for the clarification! I’m guessing the fact that I was not aware there were two meshes was causing me to manipulate the wrong one.

Much appreciated @labris.

You can always see your meshes and other scene parameters in the Inspector.

2 Likes