Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Expressions Position/scale backslide first keyframe

  • Position/scale backslide first keyframe

    Posted by Jim Hartnett on November 7, 2014 at 4:54 pm

    I’m trying to do sort of an inertial bounce in reverse. I’m sliding a logo on the X-axis. I would like it to slide back slightly on the 1st key-frame before it moves to the 2nd. Sort of like taking a step back before jumping forward. Any ideas??

    John Gardner replied 9 years ago 3 Members · 3 Replies
  • 3 Replies
  • John Gardner

    April 14, 2017 at 12:11 am

    Hi Jim,

    Did you ever find a solution to your question? I happen to be looking for a similar expression, so I’m curious if you found anything.

    Thanks,
    John

  • Steve Sierra

    April 27, 2017 at 3:33 pm

    Hi,

    I think this works if you put it in the x Position of your layer (seperate dimensions first) :

    var Speed = 50;
    var backUpAmount =300;

    if(time<6/Speed ){
    Math.cos(time*Speed )*backUpAmount;
    }else{
    time*Speed*backUpAmount – 5*backUpAmount;
    }

    I’m not sure why “6” and “5” work, but they seem to…. Must have something to do with the time cos takes to do a cycle…

    Hope this helps ????

    Cheers !

  • John Gardner

    May 2, 2017 at 7:01 pm

    Thanks Steve!

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