Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Expressions Convert keyframes to expression?

  • Convert keyframes to expression?

    Posted by Pierre-alexis Tremblay on July 7, 2009 at 2:41 pm

    Sounds simple but I can’t figure it out:
    I want to replace 2 position keyframes that are not at start and end of comp with an expression or in other words make an object move a given distance without keyframes but not for the whole comp duration. And if I could apply easing on top of that, would I be happy 🙂
    Thanks for helping…

    P.A.T.

    Pierre-alexis Tremblay replied 17 years ago 2 Members · 2 Replies
  • 2 Replies
  • Dan Ebberts

    July 7, 2009 at 3:13 pm

    You could do it with an expression like this:

    startPos = [100,100];
    endPos = [400,400];
    startT = 1; // start at time = 1 sec
    endT = 5;

    ease(time,startT,endT,startPos,endPos)

    This assumes that before and after the move, you want the layer to just maintain the start and end positons. If that’s not the case, there’s more work to do.

    Dan

  • Pierre-alexis Tremblay

    July 7, 2009 at 3:28 pm

    Thanks again Dan, I wish there were more people to share the “problems solving task” with you…

    P.A.T.

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