
I just saw that Atan2 calculates angles between two points x.x
Just do math.atan2(x2-x1,y1-y2) and it should work, it works together with math.sin/cos since it returns negative to positive pi >.<
And as we know, be is the circle, you can use pi*2 in sin/cos to get a circle instead of using negative, but negative works just as well

I've been experiementing alot with trigonometry

Going to test it now, solving the most ancient programming question I've had in my mind since I started with math...