loop

eboyeboy Member Posts: 239
edited November -1 in Working with GS (Mac)
is there anyway to create a rule set and then have that rule run as a loop....I want an actor to rotate 4 degrees CW and then 5 degrees CCW and then back and forth...

Comments

  • scitunesscitunes Member, Sous Chef Posts: 4,047
    Create an integer attribute (self.loop) set it to 1

    Have a timer that says every __ seconds change self.loop to self.loop*-1

    Then have rules when self.loop = 1 rotate 4 CW
    When self.loop = -1 rotate 5 degrees CCW
Sign In or Register to comment.