Is it possible to use layers with physics?

Hello, I have a situation where I have 2 gameplay modes. So same location can be viewed in MODE1 and MODE2, each one will show mutually exclusive art objects and I use layers to hide/show these layers when corresponding mode is activated.

Now this modes also have physical obstacles that are present in mode but not in the other.

So i was wondering if it’s possible to use layers for physics in similar way we can use layers for hiding/showing art assets? So items on Layer one would not collide with items on Layer 2 but both would collide with Background layer.

If its not possible what other solution would you suggest?

Thanks

[http://docs.unity3d.com/Documentation/Components/LayerBasedCollision.html][1] [1]: http://docs.unity3d.com/Documentation/Components/LayerBasedCollision.html

Thank you!

1 Answer

1

EDIT:
robertbu posted solution
In case anyone else wants to know, EDITOR → Physics has checkboxes where you can specify which layer collides with which layer.