Make mesh colliders collide

I’m trying to create a simulation of masonry building statics (why an arch stands).

I’ve got my simple arch modelled with posts and 7 arch pieces that are cut at angles so that, in the real world, they all exert pressure on each other and prevent the arch from collapsing.

I’m trying to simulate this. The problem is, I think I need to make the arch pieces mesh colliders because they’re not box or sphere shaped and their geometry determines how they interact.

But mesh colliders don’t collide with each other. If I use box colliders the arch pieces explode. Which is fun to watch, but the exact opposite of what I want to demonstrate.

Any ideas?

you can use multiple box colliders as children of the mesh to approximate the shape - for your situation in particular that should work fine.

EDIT:

http://forum.unity3d.com/viewtopic.php?t=3422&highlight=compound+collider

; )

Incidentally, you need to make sure that the colliders of each rigid body have a little space between them at first. That is, it’s OK for all the colliders attached to a particular rigid body to be overlapped (and that’s generally necessary to make complex shapes out of multiple colliders), but separate rigid bodies shouldn’t be touching or overlapping when they’re first created. Otherwise, they’re likely to be pushed apart at great speed.