Search Unity

Error Message

Discussion in 'Physics' started by Games1, Nov 30, 2014.

  1. Games1

    Games1

    Joined:
    Nov 30, 2014
    Posts:
    3
    I keep getting this error message when setting up the bolt for Space Shooter.

    Actor::updateMassFromShapes: Compute mesh inertia tensor failed for one of the actor's mesh shapes! Please change mesh geometry or supply a tensor manually!
    UnityEditor.DockArea:OnGUI()

    Does anyone know how to fix this?

    Thanks
     
  2. Eric5h5

    Eric5h5

    Volunteer Moderator Moderator

    Joined:
    Jul 19, 2006
    Posts:
    32,145
    Don't attempt to use concave mesh colliders with rigidbodies.

    --Eric
     
  3. RJ-MacReady

    RJ-MacReady

    Joined:
    Jun 14, 2013
    Posts:
    1,718
    Remove your rigidbody/collider from your quad. Quads just don't work with a rigidbody unless you put a different collider.

    1) Take a quad
    2) throw a capsule/box collider on it
    3) then add your rigidbody
     
    Last edited: Dec 1, 2014
  4. Games1

    Games1

    Joined:
    Nov 30, 2014
    Posts:
    3
    Thank Eric!