FORUMS: list search recent posts

Starting ease at point in time

COW Forums : Adobe After Effects Expressions

<< PREVIOUS   •   FAQ   •   VIEW ALL   •   PRINT   •   NEXT >>
Mike Mathes
Starting ease at point in time
on Sep 18, 2013 at 7:22:51 pm

Hi,

I'm trying to start an ease animation using an objects rotation as a trigger and I can't seem to get it to work. I've been trying something like this:

The problem I'm running in to is how to define the start time of the ease. I've tried playing around with while loops but just can't quite get it. I'm missing something. Any help would be greatly appreciated. Thanks.

rot = transform.rotation;
if (rot >= -6 && rot &lt;= 6) {
scl = ease(time,time,time+1,100,175);} else {scl = value[0];
}
[scl,scl]


Return to posts index

Dan Ebberts
Re: Starting ease at point in time
on Sep 19, 2013 at 12:44:55 am

Triggers can be tricky. Depending on how you want it to work, you expression needs to find either the first, or most recent time when the value moved from outside to inside the range. This should give you an idea of what you're up against:

http://wwwl.motionscript.com/design-guide/audio-trigger.html


Dan



Return to posts index

Mike Mathes
Re: Starting ease at point in time
on Nov 1, 2013 at 12:29:04 pm

Wow, sorry about the insanely late reply, it got lost in my junk mail *shakes fist*

Dan, thanks a ton for all of your resources and willingness to share your knowledge! It has been immensely helpful.


Return to posts index

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