[SOLVED] How to SetObjectRot run smoot?
#1

Hello I've someting to move but it's the Yrotation to move I used SetObjectRot but that isn't smoot It will directly open and close. I want something smoot anyobdy know??
Reply
#2

Use a timer.
Reply
#3

Quote:
Originally Posted by SpiderPork
Use a timer.
dang it u were faster
Reply
#4

Quote:
Originally Posted by SpiderPork
Use a timer.
Explain a little more... :P
Reply
#5

like setting a timer like every 500ms = 0,5secs
that does
pawn Код:
new X,Y,Z;
GetObjectRot(objectid,X,Y,Z);
Y++;//or +2,+3,+4 or anything else
SetObjectRot(objectid,X,Y,Z);
Reply
#6

Quote:
Originally Posted by saiberfun
like setting a timer like every 500ms = 0,5secs
that does
pawn Код:
new X,Y,Z;
GetObjectRot(objectid,X,Y,Z);
Y++;//or +2,+3,+4 or anything else
SetObjectRot(objectid,X,Y,Z);
Thank you but I want them move to 0.90 how to do that? and -0.90 to.
Reply
#7

hmm
maybe Y+0.90;
or sumin
i dunno..
Reply
#8

Noo don't work
Reply
#9

Thank you for answering but I solved it.
Reply
#10

Quote:
Originally Posted by [WsR
RyDeR ]
Thank you for answering but I solved it.
and how? i think that's interesting to kno
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)