Support Forum

Addforce Impulse in TopDown Game

Hi, I’m currently doing a TopDown View game and I just implemented A* Pathfinding for the enemies. So the problem becomes when I the player applies a force looking like a knockback, but when I use ForceMode2D.Force it works but not that clear but when I try to apply ForceMode2D.Impulse it doesn’t response, the knockback have no effect.
I would like to use Impulse cause it seems more natural and Force makes like a teleport, if you know why this doesn’t work and how to solve it I would be really gratefull.
Thanks!!!

EDIT: Solved it by changing canMove when I kick the enemy and reseting it after a time!