- Home /
Objects keep falling through terrain
I've looked through a bunch of threads on how to solve this problem and came to a solution. The FPC stopped falling through the terrain (the terrain that I downloaded from the asset store) after I went to the hierarchy view and checked "Generate Colliders". But now the buildings-- or objects-- that I've placed on my "self-made" terrain keep falling through the ground whenever I start the game. I've added colliders to my terrain. How do I prevent this??
make sure that your character controller is not using a mesh collider, if it is set it to convex
Is the terrain collider enabled in the inspector for the terrain ?
Answer by MrFata · May 09, 2014 at 07:42 AM
If the terrain and the object both have mesh colliders then you must set the object colliders to convex enabled. This allows two mesh colliders to collide with each other.
See Here for more information: http://docs.unity3d.com/Documentation/Components/class-MeshCollider.html
Your answer
Follow this Question
Related Questions
Object falls through terrain 1 Answer
OnCollisionEnter with terrain not working 1 Answer
Triggers? How do I use them to finish a game? 1 Answer
Collider2D not working? 2 Answers
What is the best way to check is object intersecting? 1 Answer