Hi!
I’ve just started to make a 2D game using the Paper2D plugin. I have this character which inherits from Paper Character:
I know how to make the attack animation, but I don’t know how to know if the sword has hit an enemy.
Maybe I need to add another Capsule component around the sword, and, probably, move the capsule with the animation. Or probably, just add another capsule component and don’t move it, but “activate” it when the player press the attack key.
How can I detect that the sword has hit an enemy?
Thank you!
