How do I add weapon shot knockback in a top down game?
Develop games in your browser. Powerful, performant & highly capable.
You would subtract 180 from the current angle of movement.
Open "8 directional behavior" template and add these two actions:
dop2000 so how do I add more knockback for certain weapons
JuanDaniel_123 On the screenshot in my previous comment "200" is the force of the knockback. You can change it to any value you want. You can also add a variable WeaponKnockback and use it instead of the fixed number.