I dont know what to call this, help

Flowlab Game Creator - Medieval Mash! (Unfinished) Im trying to implement a knockback system but whenever the player exits the proximity of where the enemy can follow the player and re enters it and attacks the enemy it doesn’t work… Help

you could really easily do this by just checking for collision of the zombie from each side and having 4 different collision triggers for this (one left, one right, etc) and just using an easing velocity the opposite way (from 5 to 0 impulse x linear)

I’m sorry, I don’t really understand i think I have tried something like this before though, it was probably just the way I did it

it’s literally collision → number → velocity
one of the most simple codes
you just do it 4 times in different directions