The enemies in my top-down game are moved using the custom movement behavior. One of the characters' abilities is a knockback. I need the enemy to be knocked away from the character in all directions.
First I tried setting the angle towards the character, then adding 180 to the angle. That made the enemies all just move to the left.
I then tried using an object that determined the direction the enemy was facing (I already use this object for attacking) and then setting custom movement based on that
Is there an easier way to make an object face away from another object? I feel like I'm doing this in an extremely wrong and convoluted way.