Small objects tend to fall between the polys of trimesh static bodies.

Godot Version

4.1.2

Question

Small rigidbodies tend to fall between the polys of trimesh static bodies.
In my case, I have a simple ground mesh that is just a plane with a height map.
Whenever small rigidbodies collide with it near one of the edges of its polys, they almost always fall right through.

Three tips:

  1. from the debug menu enable visible collision shapes. This may help you to identify the problem or at least give you more information
  2. Go to your RigidBody and enable Continuous CD in the inspector and see if that helps.
  3. You could have a larger collisionshape that only collides with static bodies so it won’t fall trough as easily. If course this could mean that they appear to float, so the viability depends on your situation.

i’ve tried the first two and by the looks of it the third might be my only option

edit: I also tried giving thickness to the ground plane, but it didn’t help
edit 2: it seems the speed at which the objects fall determines how much they fall through. Halving the gravity scale made this issue disappear entirely.