-
help with expressions
HI i’m fairly ne to after effects and epressions. I have been making small motion graphics and i ran into a small snag when trying to add two movement expressions to one camera. the code i’m useing is as follows:
t = time – key(2).time;
if (t< 0){ value; }else{ veloc = 18; amplitude = 55; decay = 4; y = amplitude*Math.cos(veloc*t)/Math.exp(decay*t); value + [y,0]; } The problem I am havin is that I have two seperate times when I want this movement to affect different text, but whenever I try anything such as duplicating the code for example After effects does it for one and not the other. This might be a really stupid problem to have but I figure it's better to ask. thanks Duran