Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects keyframe pre and post infinity?

  • keyframe pre and post infinity?

    Posted by Warren Grubb on January 6, 2009 at 8:59 pm

    Looked around and haven’t found info on whether there is a way to make keyframes continue into pre and/or post infinity.

    As an example, i have two position keyframes on a layer and I want the motion to continue at the same rate before and after the keyframes.

    In a package like Maya, I can grab the last keyframe and set its post infinity setting to loop with offset and- even tho the curve has ended- it continues moving at the same rate as if that curve continued on the rest of the comp.

    thanks!

    Jim Lefevre replied 16 years, 9 months ago 3 Members · 5 Replies
  • 5 Replies
  • Curious Turtle

    January 6, 2009 at 9:07 pm

    Hi,

    Yes, you can do this with a little expression added to your property.

    loopIn(type=”continue”);
    loopOut(type=”continue”)

    This bases the value on the velocity at the first or last keyframe. You can read a bit more here.

    Hope that helps,
    Ben

    Curious Turtle Professional Video
    Training | Editing |Support

    http://www.curiousturtle.com

  • Warren Grubb

    January 6, 2009 at 9:37 pm

    Thanks! I will give it a go!

  • Warren Grubb

    January 7, 2009 at 5:16 pm

    i feel sort of silly, but for whatever reason, with the syntax, which seems from my research to be correct, i can only get pre and post looping to work with one or the other, not both.

    if i use:

    loopIn(type=”continue”);
    loopOut(type=”continue”)

    then it seems to ignore the loopIn and if i do it in the reverse order, it ignores the loopOut. in other words, it always ignores the first argument and runs the second.

  • Curious Turtle

    January 12, 2009 at 12:45 pm

    Hi again,

    Sorry I didn’t reply to this sooner – I just didn’t see it :-/

    Stick this in as your expression:

    if (time-key(1).time<=0) {loopIn(type = "continue")} else loopOut(type = "continue") That should work. Cheers, Ben Curious Turtle Professional Video
    Training | Editing |Support

    http://www.curiousturtle.com

  • Jim Lefevre

    October 7, 2009 at 11:52 am

    Just a quick one but I’ve been looking for this solution for ages!!! Thanks so much Ben. I’m going to have a proper look at it and try and understand the principles that it works by – I’ve never used the…

    if (time-key(1).time<=0)

    … expression before.

    And thanks for that Adobe link. It’s great.

    Jim

    http://www.jimlefevre.com

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