Question by
Fdoggrady · Aug 28, 2017 at 02:05 AM ·
2d game2d-platformer2d-physicsdamage
Unity 2D-- Enemy only taking damage when player is moving
Hi, I couldn't find any other posts with this issue. I have my player setup with a 2D collider and the enemy script is setup to check for when an "attack" happens from the player. It all works except that the enemy only takes damage when the player is moving.
I hope that makes sense.
Thanks!
Comment