Hello
Need help setting up my knockback effect been having trouble setting this up.
I wanted to have it so when the player hits the enemy they get knocked back at least far enough to not get hit again by the attack. But if the link below I show how I reduce the speed to slow the object down but I was not able to knock the play back for enough so the player is not spamming the attack in the enemy with giving the enemy a chance to recover and attack back
screencast.com/t/mkkC1dA5t7vB
Setting a vector value higher than the max platform speed will not work. If the max speed is 50 and you set vector X to 1000, the object will still move at 50px/second. So you need to temporarily increase max platform speed for the knockback.
Develop games in your browser. Powerful, performant & highly capable.
Thanks that did help the knockback now is working perfectly now