Is there a "building auto collider" please anyone?

Hello. :slight_smile:

I purchased two assets yesterday, (from the same artist.) This building, (639 objects,) and this ship (124 objects.) But didn’t realise neither came with any colliders.

Question please.
The building (especially) has hundreds of pieces.

Is there a quick way to apply colliders to a walkable building, and have it accessible? without having to go through each individual piece.

Can Unity somehow see the mesh of the prefab, and just apply / overlay a collider matching it?

Thank you for any help.

Regards.

Andy.

Easily. Just add the Mesh Collider component to each piece, and check Convex. :slight_smile:

HI and thank you so much for the reply. I have not tried this. SO you have to manually size and shape each mesh to the corresponding piece of wall, stairs etc?
Or do you just click the piece and it auto shapes and sizes itself.?

Thank yo so much for the help.

It Automatically sets the size according to the mesh. Make SURE you put the mesh collider on the actual mesh gameObject, not the parent or something.

I have more than 1000 GameObjects, I would spend hours adding collider meshes, is there anything that could help me?

Select your 1000 gameobjects. Do what yoshinator said. Done for 1000 gameobjects at same time.