Arcade Collision detection: What side of the object was hit?

Hi all, is there a way to detect what side of an object is colliding with another?

For example, enemies that can kill you if they hit you from the side, but you kill them if you jump on them.

You can look at the body.touching values in a collision callback. Those reflect every collision during the current step, though, so make sure that this is the first collider running or the first collision call you’re making during an update.

Or you can compare the positions of the two objects and the player’s vertical velocity.

Great, thanks alot samme :slight_smile: