I’ve been trying to implement knockback to my game, but it isn’t working. How do I implement it?
My game link, https://flowlab.io/game/view/1572248
Have it to where if the object collides with the sword/projectile/round, it activates an impulse block. If it gets hit on the left, then impulse to the right. Hit right, impulse left.
when Collision(type)-impulse forward (-number)
That’s what I said lol
Remember one for each side
The type of knockback that I want to do is if the player character collides with a specific static object, then they get knocked back. How do you do that?
Like we said. If it collides it impulses the opposite direction
Ok then, thanks for helping
No problem, if you have any more questions just ask!
I don’t know if I’m doing it wrong but it doesn’t work
put it in forward.
Like shadow said put it in forward
I put it into forward, but it is still not working.
It won’t work if you have a repeat into a velocity, such as keyboard movements, unless you turn off the repeat in the key block