-
Expression bounce help
I’m quite new to expressions and need a little help.
I’m using the following to add a little bounce to an animation:
t=time-key(2).time;
if (t<0){
value;
}else{
veloc = 18;
amplitude = 60;
decay = 6;
y = amplitude*Math.cos(veloc*t)/Math.exp(decay*t);
value+[0,0,y];
}Which starts the bounce on the second keyframe, does anyone know how i can modify it so the object bounces on every keyframe I add?