I have a model of architectural environments like ROOMS and I was having a look to the example in Unity called: ShadowDemoProject which is about Picking objects in a room and dragging them. now, I noticed that the whole ambient is a set of walls separated from eachother but parented to a generic gameobject. I was wondering if it effects the behaviour of any mesh collider… what I mean is… let’s say that I have 2 walls one facing to each other. They are in a single file…and uploaded in the scene as a single object… no distinction and no parented, just one object… if I attach to it a mess collider… there will be also a collision in between the space of the two walls?
Generally there won’t be a problem; Mesh Collider can be set to concave and the spaces in between walls won’t stop physics. The demo might use separate walls for the simplicity of Cube Colliders, which can be less computationally expensive than complex meshes.
Well … uhm… dunno what you mean with Generate Colliders as after I created the gameObject I add the mesh collider myself and it is not convex as I would each walls be a separate object with a separate collider-area… but I don’t want to generate collision where, for example, there is space for a door.