How to create a semi-passable barrier

Hey there,
I have following question: For a little game i make i want to create a wall where only allowed object may pass though. So for example a spawn where only allied team may pass through. Or a mobile shield where players can pass though but bullets will collide with.

Is there a common way to create such a thing?

There totally is a system for that. Edit>project settings>physics. That panel will have a triangular-shaped set of checkboxes which control which layers collide with which. Look up how to make custom layers (it is easy) and then go nuts :slight_smile: