|
Hi. I am a particular unity and gamedev newbie overall. I have an object with Mesh Collider active. Whenever I add rigidbody to it, the object falls through terrain. Please explain what I'm doing wrong.
(comments are locked)
|
|
make sure that the bottom of your rigid body's collider is above the terrain at start, otherwise, if you have it "sitting" on the ground, the math might mistake it as already below the ground and start to fall. Simply lifting the object a bit so that the colliders don't overlap should do the trick
(comments are locked)
|
|
I had the same problem. Once I set the mesh collider to be convex it worked perfectly. Thank you!
(comments are locked)
|
|
if your gameobject is exported from a 3d software make sure in the project view to tick the Generate Colliders and hit Apply.And then drag your gameobject in your scene.
(comments are locked)
|
|
Mesh Colliders are not useful on Rigidbodies unless they have Convex set, because otherwise they do not collide.
(comments are locked)
|
