Download

Rotate my blueprint actor towards character in 2d world

im using this so far :
rot_towards.JPG

i seem to have to multiple by -1 when my character is one side of the actor and not on the other side
am i doing something wrong or is this correct logic ?

if( player.Location.X > actor.Location.X) { value *= -1 }
basically ^

the rotation seems to snap weirdly, i think ive got this a little bit wrong