Hello !
I've got players, missile and obstacles in my game.
In order to have a bunch of modes in my game, I want to code in a modular way. That's why I've got :
1 layer/mask for objects which kill the player
1 layer/mask for objects which are destroyed by the player when they touches
1 layer/mask for normal collisions with the player
My question is : is it possible to know which layer triggered the collision ?
Thank you.