Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Expressions Add specific value each second

  • Add specific value each second

    Posted by Mathieu Fourre on September 21, 2013 at 7:12 pm

    Hello everybody,
    i’m trying to rotate a wheel using a specific value but i don’t want it to turn continuesly (like the time*value expression), it only have to move once a second and stay still waiting for the other second to begin. Any ideas ?
    Thanks a lot for your time 😉

    Mathieu Fourre replied 12 years, 11 months ago 3 Members · 3 Replies
  • 3 Replies
  • Kevin Camp

    September 21, 2013 at 8:54 pm

    There’s a function called Math.floor() that will round a value down to there nearest integer. So your expression would look something like this:

    Math.floor(time)+5

    Kevin Camp
    Senior Designer
    KCPQ, KMYQ & KRCW

  • Darby Edelen

    September 25, 2013 at 9:34 pm

    [Kevin Camp]
    Math.floor(time)+5″

    Math.floor(time)*5

    😉

    Darby Edelen

  • Mathieu Fourre

    October 12, 2013 at 12:51 pm

    Thank you very much ! Simple as hello.

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