MTA Map editor rotation to samp
#1

I will make a program that the mta map editor object rotation convert
to samp filterscript rotation.

How can i calculate the angeles?
Map editor(radian) ..?
Thanx the answers
For example:
CreateObject(5463, -2937.015381, 2200.126953, 20.153173, 0.0000, 0.0000, 90.0000);

<rotation>1.570796 0.000000 0.000000</rotation>
I can't convert it.
Please help !
Reply
#2

Divide by (2*pi), times by 360.

Or, you could just times the radians by 57.2957795 to get the degrees.
Reply
#3

Thanx man
It was successful.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)