Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Expressions Starting ease at point in time

  • Starting ease at point in time

    Posted by Mike Mathes on September 18, 2013 at 7:22 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 <= 6) {
    scl = ease(time,time,time+1,100,175);} else {scl = value[0];
    }
    [scl,scl]

    Mike Mathes replied 12 years, 6 months ago 2 Members · 2 Replies
  • 2 Replies
  • Dan Ebberts

    September 19, 2013 at 12:44 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:

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

    Dan

  • Mike Mathes

    November 1, 2013 at 12:29 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.

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