- Home /
Wierd Internal Physics problem
i have a project which was working fine until i did something i don't even know what, and it started giving me this annoying error:
Actor::updateMassFromShapes: Compute mesh inertia tensor failed for one of the actor's mesh shapes! Please change mesh geometry or supply a tensor manually!
it still works fine with the error but i would like to know what's wrong with it because it's referring me one of the engines scripts called 'NpActor.cpp at line:134' so it seems like something i shouldn't dismiss. can someone please tell me whats going on
Hi! I think it is because one of your rigidbodied gameObjects mesh is perverted in one form or other. $$anonymous$$ight be scale x=0 or something similar.
Answer by DoctorWhy · Oct 08, 2012 at 06:21 PM
I hate this error with a passion. As far as I can tell, it is related to having a small scale size, mesh collider, rigid body, and some type of collision. Try changing the mesh collider to a box collider if you can, or insure it doesn't get that small in the first place.
thanks for you answers, but i found the problem. for some reason i get the error when ever i have a plane with a mesh collider on it.
Your answer

Follow this Question
Related Questions
Disable inertia tensor calculations on rigidbody? 0 Answers
How to Tilt a Spaceship Based on Inertia/Acceleration Force Separate from Facing Direction? 2 Answers
Excluding a collider from tensor calculations? 0 Answers
How to decrease inertia for a rolling ball 1 Answer
What does the "compute mesh inertia tensor failed" error mean? 6 Answers