here is what i have so far:
0.785(irrational) and i want a 0-360 number.
edit: i changed it to deg with math.degrees,
but still doesn't work to my full intentions
and gives me 45 deg when its 90 deg
import math p1x = 0 p1y = 5 p2x = 0 p2y = 0 p3x = 5 p3y = 0 angle1 = (math.atan2(p3y - p1y, p3x - p1x) - math.atan2(p2y - p1y, p2x - p1x)) print(angle1)based on something i found online, but not sure if it is correct, also it just gives
0.785(irrational) and i want a 0-360 number.
edit: i changed it to deg with math.degrees,
but still doesn't work to my full intentions
and gives me 45 deg when its 90 deg