FORUMS: list search recent posts

Add specific value each second

COW Forums : Adobe After Effects Expressions

<< PREVIOUS   •   FAQ   •   VIEW ALL   •   PRINT   •   NEXT >>
Alexandre Papakonstantinou
Add specific value each second
on Sep 21, 2013 at 7:12:23 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 ;)


Return to posts index


Kevin Camp
Re: Add specific value each second
on Sep 21, 2013 at 8:54:09 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


Return to posts index


Darby Edelen
Re: Add specific value each second
on Sep 25, 2013 at 9:34:30 pm

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


Math.floor(time)*5

;)

Darby Edelen


Return to posts index


Alexandre Papakonstantinou
Re: Add specific value each second
on Oct 12, 2013 at 12:51:56 pm

Thank you very much ! Simple as hello.


Return to posts index

<< PREVIOUS   •   VIEW ALL   •   PRINT   •   NEXT >>
© 2017 CreativeCOW.net All Rights Reserved
[TOP]