View Full Version : need expression for up and down position
hi,
does anybody know to set an expression for the position where the footage only come so far down or go so far up
I want the position of the footage only come down to 290 and only goes up to 140
thanks
drk3p
05-06-2009, 06:01 PM
Why cant you just use 2 keyframes?
Never ever thought of that............thanks
keyframe won't work..........
CaptainMench
05-09-2009, 06:58 AM
Not sure what you really want...
but if you want footage to 'drop' in and bounce...
Set a keyframe at the top, then at the bottom and apply this to the position:
veloc = 35;
amplitude = 30;
decay = 1.0;
y = amplitude*Math.cos(veloc*time)/Math.exp(decay*time);
value + [0,y]
Thank dan ebberts.
CaptM
milksac
05-09-2009, 07:13 AM
If you're trying to wiggle an object in that range you could use this expression and adjust the anchor point to position the animation.
w = wiggle (1, 150);
[value[1],w[0]]
Yes, Dan Ebberts is the guru on expressions.
The CreativeCow has an expressions forum that may be helpful.
http://forums.creativecow.net/adobe_after_effects_expressions
I'm just starting to mess around with expressions now. If I ever knew that math could be this much fun I would have paid more attention in class.
ok.... I'm try to create a widescreen preset like the one in fcp where you can adjust the position of the footage