How to only allow collision only on bottom side of 2d box collider Not top!
I only want players sword to be able to react if it hits the bottom side of the enemies 2d box collider as you know when colliders are set when you touch top sides or bottom they trigger
–so I only want the bottom to collide etc with players sword.
so lets say if player swings sword on top of enemy 2d box collider , then it will not register , I only want to react if hits bottom of collider
2d game c#