How i can disable collision between some group meshes

I need to make sure spheres fall into the box, but don’t collision with same spheres.
Any help, please
https://www.babylonjs-playground.com/#K6M44R#1113

Not sure this is possible at physics engine level: @RaananW / @Cedric

You can do it with collision filter and masks. Let me try to find some documentation

The collision group and mask are exposed in ammojs but there is nothing to forward those properties between babylonjs and ammo. I’ll do a PR tomorrow to fix that.

6 Likes

PR Ammo.js collision group and mask supported by impostor parameters by CedricGuillemet · Pull Request #8028 · BabylonJS/Babylon.js · GitHub

4 Likes