Calculate RZ from X and Y
#4

I forget the exact name of the function in pawn, I think it's atan2 or tan2.

atan2(y2-y1,x2-x1);

Or something to that regard.
Reply


Messages In This Thread
Calculate RZ from X and Y - by m4karow - 11.04.2018, 20:11
Re: Calculate RZ from X and Y - by Mugala - 11.04.2018, 21:27
Re: Calculate RZ from X and Y - by NaS - 12.04.2018, 14:28
Re: Calculate RZ from X and Y - by Joe Staff - 12.04.2018, 14:35
Re: Calculate RZ from X and Y - by NaS - 12.04.2018, 14:50
Re: Calculate RZ from X and Y - by m4karow - 12.04.2018, 15:26
Re: Calculate RZ from X and Y - by NaS - 12.04.2018, 15:57
Re: Calculate RZ from X and Y - by Pottus - 12.04.2018, 17:07
Re: Calculate RZ from X and Y - by m4karow - 12.04.2018, 17:19
Re: Calculate RZ from X and Y - by Pottus - 12.04.2018, 17:24

Forum Jump:


Users browsing this thread: 1 Guest(s)