- Home /
Is there ANY possible way to use a mesh collider(without convex) with a rigidbody?
I am creating a game with airplanes involved. It is extremely important that i get the collider to fit exactly to the airplane. I am also using a rigidbody with the airplane, so unless I check Convex the airplane will not collide properly. Is there any asset, scripting, or any method at all that will allow this to work? I don't need work done for me, I just want guidance. Thank you:)
Pretty sure the mesh has to be convex to act as a collider.
You could try creating several child objects with box colliders and move them to encompass the model. Checking if the collisions on them.
It may even make it easier to see where the collision happen. There is a limit on the number of triangles that a convex mesh collider can have which is (I'm assu$$anonymous$$g) the reason you're asking?
Yes, I wanted to detect bullet collisions EXACTLY. I ended up using multiple convex colliders.
Answer by Eric5h5 · Mar 02, 2014 at 10:26 PM
You can use multiple colliders as children, preferably primitive colliders, but if that's not possible then use multiple convex mesh colliders. Every possible shape can be represented that way.