Allow sprites to move through each other

I have 2 sprites. One is a Player, the other is an Enemy. They both have colliders. The idea is to make a
ghost-like mechanic where Enemy sprite will deal damage to the Player sprite when moving through it.

Is there a way to detect collision and deal damage but at the same time allowing Sprites to move through each other?

Yes. Just have an event with collision detection and deal damage to the player. Just don’t separate the player and enemy sprites.

You may also want to include a Trigger once while true condition, otherwise the damage will get dished out every frame (around 60 times per second)

1 Like

This worked. Thank you for the help.

1 Like