Rotate HUGE mesh. + some optimization

Hi!

After figuring out how to have collisions with an imported mesh, I am trying to import a cs:s bhop map into a scene.
https://playground.babylonjs.com/#LJ4W85#11
The only problem is that it imports sideways, with no way to rotate it. I also doesn’t run super good, with around 20 fps when looking inside of it on my chromebook.

The mesh has a bunch of sub meshes, so I think I might edit it in blender sometime. But for now, it would be nice to get it to run better and be the correct orientation.

Any help is always appreciated!
Givo

https://playground.babylonjs.com/#LJ4W85#12

1 Like

Oh, cool! thanks! I tried rotating them individually like rotation.y = Math.PI, but that turned them black.

Now I gotta figure out if a mesh can occlude itself.