please help.object rotation problem

ultimaultima Member, PRO Posts: 1,207
edited November -1 in Working with GS (Mac)
hi i've been at it for 6-7 hours now just couldn't' figure out how to do this. i want an actor to rotate 45 degrees counter clock wise and then 315 degreets clock wise.I'm so very confused.. but all in all i just want an actor to rotate 45 degree counter clockwise and then 90 degrees back clock wise.. and the way rotate and rotates to calculate it's angle is very confusing, there's no negative degree to turn... it's either degree controlled which is 0-360 or clockwise and counterclockwise with no degree control.. hope someone can understand my question.

i was able to achieve it to rotate once left and once right... but not repeat itself... am i overseeing the obvious please help.

left right left right left right left right... continues

Comments

  • bradhermanbradherman Member Posts: 55
    Have you tried using a rule with otherwise at the bottom to switch between clockwise and counterclockwise? You could use an expression on each to point the value at a real variable.
    If rotVar > 0:
    clockwise rotVar
    Else
    Counterclockwise abs(rotVar)
Sign In or Register to comment.