SA-MP Forums Archive
SetDynamicObjectRot bug? - 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: SetDynamicObjectRot bug? (/showthread.php?tid=456757)



SetDynamicObjectRot bug? - iJumbo - 07.08.2013

Does SetDynamicObjectRot bugs after or before MoveDynamicObject?
Example code..
The object just move (MoveDynamicObject) but do not rotate
pawn Код:
MoveDynamicObject(object,PPOS[0],PPOS[1],PPOS[2],speed);
SetDynamicObjectRot(object, 0.0, 0.0, Angle2D(POS[0],POS[1],PPOS[0],PPOS[1]) + angle);



Re: SetDynamicObjectRot bug? - iJumbo - 12.08.2013

Anyone?

Bump


Re: SetDynamicObjectRot bug? - Emmet_ - 13.08.2013

Maybe do this

pawn Код:
SetDynamicObjectRot(object, 0.0, 0.0, Angle2D(POS[0],POS[1],PPOS[0],PPOS[1]) + angle);
MoveDynamicObject(object,PPOS[0],PPOS[1],PPOS[2],speed);



Re: SetDynamicObjectRot bug? - iJumbo - 13.08.2013

already tested and not... I also tested whit rot timer 180ms and move