FORUMS: list search recent posts

Position/scale backslide first keyframe

COW Forums : Adobe After Effects Expressions

<< PREVIOUS   •   FAQ   •   VIEW ALL   •   PRINT   •   NEXT >>
Jim Hartnett
Position/scale backslide first keyframe
on Nov 7, 2014 at 4:54:28 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??


Return to posts index

John Gardner
Re: Position/scale backslide first keyframe
on Apr 14, 2017 at 12:11:36 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


Return to posts index

Steve Sierra
Re: Position/scale backslide first keyframe
on Apr 27, 2017 at 3:33:47 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 !


Return to posts index


John Gardner
Re: Position/scale backslide first keyframe
on May 2, 2017 at 7:01:51 pm

Thanks Steve!


Return to posts index

<< PREVIOUS   •   VIEW ALL   •   PRINT   •   NEXT >>
© 2017 CreativeCOW.net All Rights Reserved
[TOP]