Mesh Physics Imposter from CSG?

https://playground.babylonjs.com/#7S3ZHU#1
For some reason I cant get the cut out sections of the CSG to be be taken into account with the mesh imposter?

I know nothing about physics engine, but if you use AmmoJSPlugin instead of OimoJSPlugin it does work:

https://playground.babylonjs.com/#7S3ZHU#2

Maybe MeshImpostor is not supported by Oimo?

1 Like

Oimo’s mesh impostor falls back to a box impostor, as oimo doesn’t support mesh impostors. You are totally right :slight_smile:

Both cannon and ammo will work correctly.

3 Likes

Crazy I had used Ammo initially and it was falling through the mesh.