I'm trying to get an enemy ai spacecraft to point towards my player and I think I have it figured out with the exception of the angles. Having a brain cramp. So heres how I think it should be done.
check to see if player is left of center(enemy) press left
check to see if player is right of center(enemy) press right.
So what angles am I checking for in this case with the conditions? Or is there an easier way?