Greetings gentlemen,
I've ran into a question regarding colliders in Unity.
I'm buidling a static house asset. As far as I know, the best way to sort out collisions is to make a compound collider from primitives in Unity.
However, I need quite detailed collision model plus I feel more comfortable doing collision meshes in my 3d package.
So my question is how great is performance difference between those:
1) 88 box colliders
2) 88 convex mesh colliders, 8 verts each
3) One concave mesh collider with 704 verts
Many thanks for your replies in advance!
Replies
88 primitive box collider's will be far faster than any of the mesh based options.
Aye, many thanks for your reply. Will there be any issues if box colliders overlap each other partially ?
often collision can be much much simpler than the real geometry. nobody will notice... i think you could approximate it wwith less then 20 colliders..
If the object is moving overlapping colliders will give it a distorted/unrealistic centre of mass but for static collisions it doesn't cause problems.