How does the TerrainCollider works?

I want to know how the TerrainCollider works inside. I need a custom collider because of the fact that i have a custom terrain which is not using the unity terrain ( It’s a special terrain for Mobile-Devices ).

I think the TerrainCollider is faster than the MeshCollider so i would prefer the TerrainCollider.

Cheers
Felix

The terrain collider works with a heightmap. It works in essentially the same way as a mesh collider, because it bakes the heightmap data out into a mesh to work with the physics engine.