<aside> ⚠️ These layers are probably already setup on your downloaded template
</aside>
The engine requires the project layers to be setup as as follows. You can setup the project layers by accessing to the project settings from the top menu: Edit/Project Settings/Tags and Layers.
Please, bear in mind that the layers have to have the same indices as shown below.
Once the layers have been created, the Layer Collision Matrix needs to be setup as follows. This can be changed from Edit/Project Settings/Physics:
These layers have the following purpose:
Player: Helps to identify the player and should only be used by the main player collider
OnlyWithPlayer: Useful for objects that should only collide with the player. Like gameplay triggers.
InteractionSystem: Useful to trace and detect interactable objects
Combat: Used by the Attacks and Attackables to ensure that only these collide to each other