- Home /
Collisions on Models...
Hey all I have these ship models that need collision detecting but can't be a ridged body for a few reasons… 1. It throws an error saying 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.HostView:OnGUI()
I don't need the mass and other physics
So since I need the ships to be able to not go through each other what do I do?
Answer by GraviterX · Dec 24, 2013 at 01:17 AM
I would try using triggers for collision detection. Then script it so that it can't go through the trigger, or add a second collider without a trigger.
So yeah what I am kind of thinking but I have those on the models already so how could I make a script that say can't go through a mesh collider… or a sphere collider? Thats the part I don't get, how do I script that sort of thing? What would I tell the ship to do when it hits the trigger?
Answer by 13dnizinski · Dec 24, 2013 at 01:53 AM
Why not use a basic collider or even a CharacterController?
Your answer
![](https://koobas.hobune.stream/wayback/20220613124748im_/https://answers.unity.com/themes/thub/images/avi.jpg)