Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Maxon Cinema 4D Second hand on a ticking clock

  • Second hand on a ticking clock

    Posted by Stu Pond on January 15, 2007 at 10:11 am

    I have to animate a ticking clock and the focus will be on the second hand. I could animate it as a sweep hand, but would rather the hand moved every second. Rather than animate this a frame at a time I was wondering if anyone has an expression that could just rotate the hand 6 degrees every second to replicate the movement of the hand.

    Cheers,

    stigWeard

    Stu Pond replied 19 years, 6 months ago 4 Members · 5 Replies
  • 5 Replies
  • Mylenium

    January 15, 2007 at 5:36 pm

    You need just a few XPresso nodes. First add a Time node, set it to seconds. Take the output of that node into a FloatMath node which is set to floor. Then take this output into a Math node, set it to Multiply. Feed the rounded time into the first port, for the second port use a fiixed value of six. This will give your rotation. Plug the result in any of your object’s channels.

    Mylenium

    [Pour Myl

  • Brian Jones

    January 15, 2007 at 9:34 pm

    couple of small corrections, that would be FloatFunc not FloatMath and you’d want to add a Degree node (set to Degree to Radians) to take the value into the second hand

  • Lennart Wåhlin

    January 15, 2007 at 10:57 pm

    If you are in a hurry and are running R10 with MoGraph you can see if the StepCLOCK rig might work for you.

    http://www.tcastudios.com -> xfiles -> StepCLOCK Item 027

    Cheers
    Lennart

  • Mylenium

    January 16, 2007 at 6:00 am

    Yupp, thanks. Wasn’t in front of da beast. ;O) Thanks for following up.

    Mylenium

    [Pour Myl

  • Stu Pond

    January 16, 2007 at 3:58 pm

    Thanks very much for this folks – as is sod’s law, the client rejected my 3D idea and I have had to do it in AE in a different style.

    However, it hasn’t been entirely wasted – I will try the method anyway as part of my ongoing mission to learn Xpresso.

    Thanks again!

    stigWeard

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