How to knock back player pawn
I am trying to set up my player pawn to be knocked back away from an enemy when hit by that enemy. I cant seem to find anything online about this and the add impulse, add force, and launch character nodes dont seem to work with the pawn. Any suggestions would be appreciated.
Add impulse is exactly what you need and does indeed work with pawn. You need to get the hit direction, multiple that by a negative float value that feeds into the add impulse node.
Lets see how you setup your blueprints to help more. Because it sounds like the issue is not the impulse but how you are triggering the impulse that is incorrect.
answered Nov 03 '18 at 06:11 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here