- Home /
Disappearing object
How do I prevent an object from falling through the ground it is supposed to be standing on?
Answer by syclamoth · Nov 13, 2011 at 03:42 AM
You give it a collider, and make sure that if it's a mesh collider it's set to 'convex'- because terrain colliders count as meshes, and as such don't collide with other mesh colliders.
Of course, this only applies if you're using rigidbody physics- if you have written your own physics, then you will have to manage collisions manually.
Answer by tholland · Nov 13, 2011 at 11:57 PM
Thanks syclamoth; my player object now stays on the ground!
Your answer
![](https://koobas.hobune.stream/wayback/20220613041912im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
My object is falling through the platform 1 Answer
character gravity problem 1 Answer
how to make an object fall slowly ? 2 Answers
Falling object, change its angle 0 Answers
TriggerEnter, useGravity, Cubes are not falling down 3 Answers