SetDynamicObjectRot bug?
#1

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);
Reply
#2

Anyone?

Bump
Reply
#3

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);
Reply
#4

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


Forum Jump:


Users browsing this thread: 2 Guest(s)