Page 1 of 1

Rotating

Posted: Fri Sep 28, 2007 1:11 pm
by Farfelkugeln
This is probably a stupid question, cause' I'm likely to have overlooked something.
But is there an easy way to make things rotate counterclockwise?

Posted: Sun Sep 30, 2007 2:36 am
by rycuda
Make speed negative.

Posted: Sun Sep 30, 2007 8:01 am
by Farfelkugeln
Thanks

Posted: Sun Sep 30, 2007 10:06 am
by rycuda
Happy to help =)

Posted: Wed Oct 03, 2007 5:47 am
by Farfelkugeln
For some reason the parts won't rotate when I make the speed negative.
I've done exactly like you wrote in the tutorial, but it still dont work.

Posted: Wed Oct 03, 2007 8:07 am
by rycuda
Can you post the AI lines from the editor? It'll give me a better idea of what's going on.

Posted: Wed Oct 03, 2007 10:27 am
by Farfelkugeln
Here you go.

rotatePart,48,-1,0,60,20

You don't suppose that the space between is important?

Posted: Thu Oct 04, 2007 1:37 pm
by rycuda
Okay, for me that code generates a part that starts out rotating counter clockwise and will then rock back and forth between the minimum and maximum angles. Is what what you're after, or do you want the piece to keep spinning counter clockwise forever?

If you want it to keep spinning counter clockwise forever you need to change that 60 to a 0 so that the line reads:
rotatePart,48,-1,0,0,20

Otherwise I'm going to need you to explain to me what you're wanting the piece to do.

Posted: Fri Oct 05, 2007 5:42 am
by Farfelkugeln
Hmm, it is supposed to rotate between min and max angle.
I think my problem is to get the right rotation between those.
I'll just try and fail till' I get it.
Thanks for the help though.