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
https://playcanvas.com/editor/scene/1050567

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:

https://developer.playcanvas.com/en/tutorials/physics-with-ccd/

thanks for this