simple question about layers and child objects

I have a parent object with a box collider in it, and then there are several child objects which are within the boundaries of this parent object with collider… I assigned the parent object to a specific layer that I use in the physics matrix. My question is, does it matter if the child objects are assigned to that same layer or not? (No, I don’t need them to be checked for collisions, only the parent).

It depends on the use you give to the layers. You may assign individual objects to different layers, no matter their parenthood relationship. With regards to physics, each collider will collide or not based on its specific layer and the configured layer collision matrix.

1 Like

This is what I thought but I wanted to be sure I wasn’t being sloppy by “mixing” layer assignments. Good to hear! Thank you.

1 Like