playMaker

Author Topic: Bounce after hitting a wall  (Read 885 times)

Frost

  • Playmaker Newbie
  • *
  • Posts: 16
Bounce after hitting a wall
« on: August 03, 2018, 07:40:38 PM »
Hi again, now im trying to set this up:

I hit an enemy, the enemy gets a knockback... this is done... but now i want the enemy to have a bounce back (after a melee hit) in my direction (variable called the same) after it hits a wall (detects collision) and then apply AddForce or Set Velocity 2D in the direction value with a get position and such things... but i cant figure it out... any help, please?