Constant Rotation on a non movable actor?

tenrdrmertenrdrmer Member, Sous Chef, Senior Sous-Chef Posts: 9,934
edited November -1 in Working with GS (Mac)
I have a platform I want to rotate but I need it to be non movable. I can achieve this with interpolate or by constraining Self.rotation to self.rotation+1. Interpolate has a time frame so thats not really an option since it needs to be constant and the constrain method works except you have to trigger the rotation twice before it will remain constant. the first time the rule is triggered it only moves rotates by one and then stops. but if while in the same scene I stop the rule and restart it the rotation works perfectly.

Does anyone know a way around this?

Thanks
Aaron

__________________________________________________________________
AppSolute Entertainment on Facebook

Comments

  • JohnPapiomitisJohnPapiomitis Member Posts: 6,256
    Hey Man,

    In your non movable platform, have a timer ever 0 seconds.

    Then put your interpolate rule in the timer, interpolate rotation to rotation+1

    then have the duration -20

    hope it helps :)
  • CodeMonkeyCodeMonkey Head Chef, Member, PRO Posts: 1,803
    Rule: If self.Rotation = 0
    --Interpolate self.Rotation to 360
  • tenrdrmertenrdrmer Member, Sous Chef, Senior Sous-Chef Posts: 9,934
    CodeMonkey said:
    Rule: If self.Rotation = 0
    --Interpolate self.Rotation to 360

    That will only rotate one time correct? or does it see 360 and 0 the same?
  • tenrdrmertenrdrmer Member, Sous Chef, Senior Sous-Chef Posts: 9,934
    Well NM It works Thanks CodeMonkey. Solutions are always much simpler when someone else looks at your problem.

    Sorry john I never got to try your way.
Sign In or Register to comment.