Question about Sa-mp Object Rot
#1

Can somebody tell me how i Convert the MTA Object Rot to Sa-mp Rot ?

i heard that i must take the Radians and times by 57.2957795 = 1 Radian
but it wont Work :/
Reply
#2

Have you tried converting your MTA stuff to SA:MP compatible stuff? This is a good converter: http://www.convertffs.com/objects/
Reply
#3

// Convert from MTA (radians) to SAMP (degrees) rotations
value = (360 + (value / 0.0174532925));
while (value >= 360) value = value - 360;
while (value < 0) value = value + 360;


I hope this helps you.



Reply
#4

Matite, your signature's game-monitor thingy is outdated.

I didn't really understand
Quote:
Originally Posted by Matite
value = (360 + (value / 0.0174532925));
while (value >= 360) value = value - 360;
while (value < 0) value = value + 360;
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)