- Home /
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
Answer by syclamoth · Jan 25, 2012 at 11:20 PM
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.
Seems to be right, i wonder why there is no faster approach but ok. $$anonymous$$eshCollider is ok for me.
Your answer
Follow this Question
Related Questions
Animated Object falls through elevated terrain 0 Answers
How to create a ground/terrain/floor that won't respond to gravity or objects falling on it? 1 Answer
Bucket with apples on a terrain (Sphere Colliders + Mesh Collider + Terrain) 0 Answers
How can I separate tree colliders from terrain colliders? 2 Answers