Physics objects not reacting to merged mesh with mesh impostor

Hi everyone!

I have a short and sweet question for you; why is this not working?
https://playground.babylonjs.com/#S7E00P#124

I have some difficulties trying to use physics with gltf/glb objects in my game project and after debugging a bit this seems to be one of them. As you can see from the playground example, the skull just goes through my mesh that I have set the meshImpostor to. I have also merged the floor and wall mesh together, since I do this in my game for performance reasons :slight_smile:

Any idea what causes this? It does work without merging meshes, as seen here: https://playground.babylonjs.com/#S7E00P#125

Ugh never mind, it was just a silly mistake on my part, assigned wrong mesh to the impostor :sweat_smile:
Here is the fixed version:
https://playground.babylonjs.com/#S7E00P#126

1 Like