ADOBE AFTER EFFECTS: Forum Expressions Tutorials Podcasts Creative Cloud

Add ease to expression that starts at specific time

COW Forums : Adobe After Effects

<< PREVIOUS   •   FAQ   •   VIEW ALL   •   PRINT   •   NEXT >>
Cole PittsfordAdd ease to expression that starts at specific time
by on May 7, 2013 at 6:47:58 pm

I am fairly new to the language of expressions, so forgive me if this is a noob question.

I am animating some big gears that I want to be static at first, small lurch forward, then slowly start rotating over time.

I have added this expression below to make the gear start turning at 5 seconds. I also added keyframes around 4sec to make the gear lurch forward before it starts turning. My problem is that the expression doesn't start from the value of the last keyframe, so the gear skips to a different value when it starts rotating at five seconds. I would also like to add an ease so the gear doesn't start so abruptly. Can anyone help? Thank you!
timeToStart = 5;
  if (time > timeToStart){

Return to posts index

<< PREVIOUS   •   VIEW ALL   •   PRINT   •   NEXT >>
© 2016 All Rights Reserved