So I’ve ran into a problem today with how my character attacks. Basically when you attack the box collider turns on for a certain amount of time. The problem is that the enemy gets destroyed even if it doesn’t hit the collider. For some reason it can collide when it’s above the box collider.
Shown in this gif:
The bat can be seen floating above the box collider I have selected yet it still destroys. The bat has a small box collider attached which doesn’t come in contact with the selected box collider at all.
The enemy can also somehow hit the player when the colliders aren’t touching.