[ 3 / biz / cgl / ck / diy / fa / ic / jp / lit / sci / vr / vt ] [ index / top / reports ] [ become a patron ] [ status ]
2023-11: Warosu is now out of extended maintenance.

/sci/ - Science & Math

Search:


View post   

>> No.8788492 [View]
File: 8 KB, 186x186, fuckingunitcircle.jpg [View same] [iqdb] [saucenao] [google]
8788492

Is there some formula to find the exact angle if I have both x and y positions on the unit circle?

I know that if I take acos(x) or a asin(y) I will get an angle. But there will be two solutions. I need to find which one of the two is the correct one.

Doing some AI programming and need it to make the AI shoot in the correct direction

Navigation
View posts[+24][+48][+96]