Rotating objects - 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: Rotating objects (
/showthread.php?tid=441397)
Rotating objects -
WillyP - 02.06.2013
Hey, I was wondering if there was any way possible of rotating objects that are attached to vehicles? Without destroying/recreating using fast timers, bla bla bla. Just using SetObjectRot, I tried this and other methods however they all failed. Is there any way/possibility of making objects rotate whilst they are attached to a vehicle?
Re: Rotating objects -
Kar - 02.06.2013
attachobjecttovehicle?
no, no smooth rotation, only static rotation is possible
Re: Rotating objects -
WillyP - 02.06.2013
Quote:
Originally Posted by Kar
attachobjecttovehicle?
no, no smooth rotation, only static rotation is possible
|
Yeah I used that. Oh noes, so does this mean I'll have to delete, re-create, change rotation value, then attach all with fast timers?
Re: Rotating objects -
Kar - 02.06.2013
no just call attachobjecttovehicle again, it changes the position/rotation
Re: Rotating objects -
WillyP - 02.06.2013
Quote:
Originally Posted by Kar
no just call attachobjecttovehicle again, it changes the position/rotation
|
Easier than I first assumed, cheers