- Home /
Mesh Collider Issue
Having great fun with Unity! Only thing is I'm playing around with some rigid bodies in my drag and drop game and I'm getting an error message: "Compute mesh inertia tensor failed for one of the actor's mesh shapes! Please change mesh geometry or supply a tensor manually!" Not sure what this means, any thoughts?
Answer by syclamoth · Sep 13, 2011 at 11:11 AM
As Jeston said- this problem occurs when the collider has no volume (or even negative volume!) Make sure your normals are all facing the right direction, and if all else fails, see if you can set the mesh collider to 'Convex'- I find this often helps with stubborn rigidbody-mesh interactions.
Answer by Jeston · Sep 12, 2011 at 12:47 PM
This generally occurs when a rigid body is attached to a collider that has 0 depth or triangle that have 0 area, and or things like planes. Double check the mesh ?
Answer by iFollow · Sep 13, 2011 at 05:29 AM
Hmmm....well I encountered a similar problem, not sure if it's the same. I was using a rigid body drag script on some objects (a few cubes, as well as some flat planes) that I had converted to rigid bodies and added a mesh to. I was getting the error message but couldn't figure out a fix. Do you have any recommendations if our project involves the use of flat planes?
@iFollow You accidently tripple-posted (probably due to the new moderation-queue for users with <15 Points). It would be great if you could delete 2 of your posts, thank you :) Or actually, all 3 of them and use 'add a comment' ins$$anonymous$$d, as this is not an answer to the question, but an annotation... Greetz, $$anonymous$$y.