Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Expressions stopping the loop out expression

  • stopping the loop out expression

    Posted by Bjoern Dunne on February 20, 2009 at 12:31 pm
    loop_out("cycle",0)

    Hello there,

    i am animating a walk cycle of a paper cut-out puppet using parenting, lots of rotation keyframes and the loop_out cycle expression.
    I was wondering, if there is an elegant way to let the puppet stop walking, maybe even slow down gradually?

    Or will i have to set up the animation differently?

    Thanks in advance.

    Björn

    Bjoern Dunne replied 17 years, 6 months ago 3 Members · 3 Replies
  • 3 Replies
  • Kevin Camp

    February 20, 2009 at 8:00 pm

    if you wanted it to slow down to a stop, then precomping the animation and using time remapping (layer>time>enable time remapping) may be the way to go.

    then you’d just be adding/adjusting key frames and their interploation… it may be as easy as ‘easy ease’ on the end keyframe, or adjust the curve in the graph editor to suit.

    Kevin Camp
    Senior Designer
    KCPQ, KMYQ & KRCW

  • Filip Vandueren

    February 21, 2009 at 12:19 am

    I often use this expression:


    t=time; // or t=effect("Slider Control")("Slider");

    if (numKeys) {
    last=key(numKeys).time
    tt = (t>=0) ? t%last : last-(-t%last);
    valueAtTime(tt);
    } else {
    value
    }

    If you change the first line by pickwhipping “t=” to a slider (see the comment part of line 1)
    , you can keyframe that slider as if it was the time of a timeremapped precomp for that parameter + as a bonus it goes below zero which loopOut & timeremapping can’t do.

  • Bjoern Dunne

    February 23, 2009 at 9:59 am

    Thanks Guys,

    Filips expression works nicely for slowing down the keyframe animation (which is a huge help already), but i cant seem too keep the loop_out expression working.
    The Puppet starts jittering and doing weird stuff. I pasted the expression under my loop_out expression. Maybe i was thinking too simple =)

    Thanks for the help guys!

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