|
Rotate
#146972
08/09/07 20:51
08/09/07 20:51
|
Joined: Jul 2002
Posts: 857 Québec
Marky Mark
OP
User
|
OP
User
Joined: Jul 2002
Posts: 857
Québec
|
Another noob question.
I can't get c_rotate to work. I only want an entity to slowly rotate (from right to left)..
Thanks to help
Yeah! IE sucks, use Mozilla... Marc Rémillard.
|
|
|
Re: Rotate
[Re: AttosRH]
#146974
08/09/07 21:16
08/09/07 21:16
|
Joined: Jul 2002
Posts: 857 Québec
Marky Mark
OP
User
|
OP
User
Joined: Jul 2002
Posts: 857
Québec
|
I do not need any collisions. Thanks i'll check this out.
Yeah! IE sucks, use Mozilla... Marc Rémillard.
|
|
|
Re: Rotate
[Re: Marky Mark]
#146975
08/09/07 21:18
08/09/07 21:18
|
Joined: Jul 2002
Posts: 857 Québec
Marky Mark
OP
User
|
OP
User
Joined: Jul 2002
Posts: 857
Québec
|
Hum, and how do I set the pan to rotate the entity? (Damn sorry for my bad knowledge)
Yeah! IE sucks, use Mozilla... Marc Rémillard.
|
|
|
Re: Rotate
[Re: demiGod]
#146977
08/10/07 03:44
08/10/07 03:44
|
Joined: Jul 2002
Posts: 857 Québec
Marky Mark
OP
User
|
OP
User
Joined: Jul 2002
Posts: 857
Québec
|
I tried it. while(1) { my.pan += 10 * time_step; } in my action. I get this ingame error : Possible endless loop in [myaction] Noooo really? hey! that's what I want! so I press Ok but I have to press Cancel because this annoying error message is popping in my face every .5 seconds. then it crashes. Any idea? Sorry about me 
Yeah! IE sucks, use Mozilla... Marc Rémillard.
|
|
|
Re: Rotate
[Re: Marky Mark]
#146978
08/10/07 04:54
08/10/07 04:54
|
Joined: Apr 2005
Posts: 7 Oklahoma
Claybotech
Newbie
|
Newbie
Joined: Apr 2005
Posts: 7
Oklahoma
|
You forgot to add you wait statement below your action in yor while loop. You are not allowing anything else to run. In loops, the wait statement is crucial. You should really review the tutorials available on the download page, as this will really help with some of your scripting.
After this line: my.pan += 10 * time_step; Insert the following: Wait(1);
Clay...
Wow! You have some major polygon issues there.
|
|
|
Moderated by mk_1, Perro, rayp, Realspawn, Rei_Ayanami, rvL_eXile, Spirit, Superku, Tobias, TSG_Torsten, VeT
|