Collider to parent


I would like to add multiple meshes to an empty game object, then add a mesh/box collider to the parent. I have tried to add a box, or a mesh collider to it from the inspector, however the resoult wasn’t covered the meshes, only a part of them.

How should I do it, or is it even possible?

Hello there, you will have to be more specific? You mean you want to randomly spawn prefabs to a location based on a empty game object by using an array?

You need to use an variable as
var anObject:gameObject;

and then give the settings to what you want the new objects to do.

cant you add a script to the empty game object or go to
Component>Physics>Box Collider?