Calculate RZ from X and Y
#6

Thanks for the reply dude
Anyway i don't really understand what you sayin' with my sh!t english But i tried both example that you said

Код:
a = atan2(vy, vx) - 90.0
and

Код:
DumpsterData[dumpsterid][dumpsterR] = (-atan2(X, Y) + 45.0);
and the result is almost that i want.


but if the rotation of the object has not equals to 0.0;


soo could you give me more advice to finish this? i want to 'clone' all of theese dumpsters with server sided objects.
i'm very bad in maths so im look like this now
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)