Search Unity

  1. Unity 2019.2 is now released.
    Dismiss Notice

Compute mesh inertia tensor failed for one of the actor's mesh shapes

Discussion in 'Physics' started by Mermelade, Dec 3, 2014.

  1. Mermelade

    Mermelade

    Joined:
    Jun 18, 2014
    Posts:
    1
    So i've been getting this error now. And I searched around in the forums and everyone says thats because an issue between planes and mesh colliders, the thing is that even tho i have planes, I don't have any mesh colliders, only box colliders assigned to the planes (one of the planes also has a rigidbody).

    Another thing is that I only get this error when I wrote the jumping code for the rigidbody where I used "rigidbody.velocity". when i erase that, the error is gone.

    any help? ( im very new to all this.)
     
  2. Barachiel

    Barachiel

    Joined:
    Nov 25, 2012
    Posts:
    147
    Though I'm no expert on the matter, I believe the box colliders need to have a non zero depth. Make sure that for the size of the box collider none of the values are left at 0, even something like 0.01 would work.