how can i make layers in unity and add objects which should be unaffected by the objects moving in the other layers?
click on an object
look at the inspector
Look UP and to the RIGHT
Notice it says “Layers:” and then “Default”
Choose the layer you want, and you can also name other layers.
Next you will need to find the settings->physics->layers to set your interaction.
There is full, detailed, excellent documentation regarding this on the Unity web site. Try using google, “unity3d physics layers”
Here - I’ve done it for you to save you time since it is urgent