<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.
https://lh3.googleusercontent.com/k0WZKmfjyPYD7XLG64y4vUgEOGitCtw_pIfkoM3D_rztRxkzE6wSVQ8b3u0xtlcRNlfaELrhA9pkh2LBRDYY9gFrxxWPKmixK7uRVCvCRp3DVnaAET76ZuTLYc0v3rWOOrfY554VCwQsx5ZXYrXtpAuD6UY_GrCTWg59G_REExTL_msoIg7z76rRHQ
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:
https://lh3.googleusercontent.com/mBrJ2YzygvctUYMMBx8QSC2uf5crcN4jggRiS5vfSsDlUIwQpnJ2y7ET3HqDGW9OOFFJeCAkl0Z9mU7F0NlGz6N-P0t9j6iUEMk-pUJCV2-6CvPc4U9NPfHV_m760A9_9ZlMdb_RSR0r7YJqnxp5Oy4jndu92pQSlNKnXQ1AUr7UH2Fb6mTT11SK_w
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