Rotation [REP] - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Rotation [REP] (
/showthread.php?tid=568261)
Rotation [REP] -
cnoopers - 20.03.2015
Is there any way to check is player's car rotated by 360 degrees? Not angle pos, you know - sth a'la single player stunt bonus.
Re: Rotation [REP] -
Ahmad45123 - 20.03.2015
I don't understand what you want...
Re: Rotation [REP] -
mirou123 - 20.03.2015
I think he wants to detect the rotation on the X and Y axis. AFAIK SAMP only provides detection for the Z angle so I am afraid that isn't a possible thing to do.
Re: Rotation [REP] -
Smileys - 21.03.2015
It is, sortof..
Try SetVehicleAngularVelocity.
Not sure if there's a get function for it, try to ****** it.
Re: Rotation [REP] -
mirou123 - 21.03.2015
Quote:
Originally Posted by Smileys
It is, sortof..
Try SetVehicleAngularVelocity.
Not sure if there's a get function for it, try to ****** it.
|
No there isn't. It has been suggested before but was never added.
Re: Rotation [REP] -
Pottus - 21.03.2015
This would require direct results from a physics simulation to achieve.