Change rotation

IsabelleKIsabelleK Member, Sous Chef Posts: 2,807
edited November -1 in Working with GS (Mac)
Hello, could you please help me with that? I was trying to do it, but I don't know how.
When actor's A rotation changes by 10 degrees, then actor's B rotation changes by 5 degrees.

So it should look like that:
Actor's A rotation = 10; Actor's B rotation = 5
Actor's A rotation = 20; Actor's B rotation = 10
Actor's A rotation = 30; Actor's B rotation = 15
etc.

Thank you.

Comments

  • reddotincreddotinc Member Posts: 653
    You will need to set up 2 global variables,

    Arotation, Brotation

    and constrain those to the 2 actor's rotation, then you can do rules to say when Arotation >= 10 then Brotation = 5 etc.

    Hope that helps.

    // red.
  • gazjmgazjm Member Posts: 578
    you could also set actor b's rotation to constrain to actor a rotation divided by 2. Should also work.
  • IsabelleKIsabelleK Member, Sous Chef Posts: 2,807
    Thank you very much :-)
  • reddotincreddotinc Member Posts: 653
    From your post it sounded like you only wanted the rotation to change at certain values, if not then gazjm's method will work really well :P

    // red.
  • IsabelleKIsabelleK Member, Sous Chef Posts: 2,807
    I thanked both of you ;-) You're way really helped me, red.
Sign In or Register to comment.