Terrain Generator Mesh collider problem

so I have this height map where the corners are flattened to be the seabed and the center to be the island but my capsule is going through the terrain.

here is the project

Hi @chris_xigega,

That’s a generic problem with physics and large flat triangles, it can make a dynamic body go through. You can solve that by enabling CCD on your moving object, check this example:


thanks for this