FORUMS: list search recent posts

"Hold keyframes" with rotation expression

COW Forums : Adobe After Effects Expressions

<< PREVIOUS   •   FAQ   •   VIEW ALL   •   PRINT   •   NEXT >>
Dylan Dickey
"Hold keyframes" with rotation expression
on Oct 11, 2011 at 7:47:37 pm

I'm pretty new to expressions.

What I'm trying to do is make the second hand of a clock. It needs to rotate 6 degrees every second, but I don't want it to do it smoothly, but rather with hold keyframes, so it abruptly changes every second, just like most real clocks. I tried time*6;posterizeTime(1); but that didn't work.

Thank you in advance for any help,

Dylan


Return to posts index

Dan Ebberts
Re: "Hold keyframes" with rotation expression
on Oct 11, 2011 at 7:54:52 pm

This should do it:

Math.floor(time)*6


Dan



Return to posts index

Dylan Dickey
Re: "Hold keyframes" with rotation expression
on Oct 11, 2011 at 8:19:08 pm

Thank you very much. Exactly what I was trying to do.


Return to posts index

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