Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Expressions Clock Hands Rotating but I need a Slider Control or something to control speeds

  • Clock Hands Rotating but I need a Slider Control or something to control speeds

    Posted by Phil Lebeau on January 5, 2012 at 7:42 pm

    I have a basic whimsical clock that has all 3 hands that will rotate from normal speed to as fast as I need it to go.

    I can parent the hands together but what if I wanted to have a slider control that I could adjust that slider and change the speed of all 3 hands… ranging from normal speed up to whatever

    I also need my “hour” hand to go all the way to 12. I can do that too and have the other hands follow

    But a slider to adjust speeds of all 3 hands would be great

    Currently my clock hands are at the 12 o clock mark. But what if I wanted to move my hour hand to start at 3 o clock and have the other hands follow?

    I know the faster I adjust my hour hand, my second hand will be “flying”. At any rate, any help that you might have will be grateful.

    Thank You!

    Phil Lebeau replied 14 years, 4 months ago 3 Members · 6 Replies
  • 6 Replies
  • Dan Ebberts

    January 5, 2012 at 8:39 pm

    Controlling speed in AE is tricky. You’re better off controlling the total degrees rotated. If you keyframe the slider to go from 0 to 360 your hour hand will go from 12 to 12 and you can ease it however you want.

    Dan

  • Phil Lebeau

    January 5, 2012 at 8:54 pm

    Thanks Dan – I dont need to do variable speed – I just need to set it and forget it. I will duplicate the CLOCK comp 3 or 4 times for different speed of clocks.

    Any tips on how I can link the 3 HANDS to one slider???

    Thanks a million!

  • Paul Roper

    January 5, 2012 at 8:56 pm

    What a coincidence, I was just responding to a post by Dan (from 2 years ago) on a very similar topic (rotation speeds and expressions) when I noticed this thread. The post is at:

    https://forums.creativecow.net/thread/227/15551#15559

    and might help you out a bit.

    My response was regarding motion blur using this technique.

  • Dan Ebberts

    January 5, 2012 at 9:31 pm

    You could link the hour hand to the slider and use this for the minute hand:

    thisComp.layer(“hour”).transform.rotation*24

    and this for the second hand:

    thisComp.layer(“minute”).transform.rotation*360

    Dan

  • Paul Roper

    January 5, 2012 at 9:32 pm

    Yes, you CAN link all three hands to the one slider:

    Create a null called controller_null with an angle control on it.

    On your hour hand’s rotation, put:

    thisComp.layer("controller_null").effect("Angle Control")("Angle")

    On your minute hand’s rotation, put:

    thisComp.layer("hour hand 2").transform.rotation*12

    On your second hand’s rotation, put:

    thisComp.layer("minute hand").transform.rotation*60

    Keyframe the angle control from (for example) 0 to 1 to get a 12 hour animation.

    – Paul

  • Phil Lebeau

    January 6, 2012 at 2:28 pm

    Awesome! Thanks everyone for all your help!

We use anonymous cookies to give you the best experience we can.
Our Privacy policy | GDPR Policy