Hello everyone.
I just started using Unity, and I learn by doing. So I’m building a project while watching tutorials. A simple room, with walls. Nothing more at the moment. (With the FPS prefab controller.)
When I import my room and set it to generate colliders, it works fine in preview. Other than the error message “actor::updateMassFromShapes: Compute mesh inertia tensor failed for one of the actor’s mesh shapes Please change mesh geometry or supply a tensor manually!”
After some searching I found that this was because I was using mesh colliders with a rigidbody. The rigidbody alone does not stop me from falling through the floor. But I added it because I needed to keep the room from falling with the iskimetic option. So I turned off the generate colliders option on the import and added a box collider to all the objects I needed to be solid. Works without the error message now however, it seems that this route has decreased performance drastically when previewing the scene.
Suggestions?
EDIT: Now I have no idea what is going. I tested it again, with no changes. And now I can walk through the walls, but the floor holds me up.
Is there any way to force the room to not generate the error, generate the colliders on import, and use a rigidbody? Or is there any other way to keep my room from falling?
SOLVED: I undid everything. Reimported the room with generate colliders, ran the program. And now all seems well. Thank you for the help I would have gotten had I not solved this first. (Though I think my room might still be falling… it doesn’t seem to matter, as long as it doesn’t flip over.)
Based on my inexperience with this program as shown above. Links to your favorite tutorials that would help me would be greatly appreciated.