Hi,
This one its easy but i am making some confusion here, and after some tests i didnt figured it out yet, so i made a picture to help:

Imagine two entities and a sphere, entity2 its always facing the sphere using vec_to_angle so no big deal (fig. 1).
The problem is, when the sphere enters the black circle (i mean its distance to entity2 its less than x), entity2 no more turn towards the sphere, instead it stands in the angle when the sphere reached the circle (fig. 2).
So, what i need to know is when the sphere reaches the circle, which is the angle between the entity2 and the sphere (relation between them) in order to know if the sphere travels in the LEFT or the RIGHT side of the entity2.
Thanks in advance.