-
Inertial Bounce expressions suddenly not working!
Can anyone tell me why this started happening in CS6? This expression always worked before.
One theory was that the comp was too long (18 minutes). I have this in a 3 minute comp now and still get the same error. (I have used this expression in 2-3 minute comps before and not had issues.)
Also received this reply:
Not sure how to implement that, though.
Also, the expression doesn’t break right away. It works for about 30 seconds before throwing an error.
Here’s a link to the comp: https://www.dropbox.com/s/6nktob8yj8uohoi/007%20Sample%20Comp.aep
Thanks!
Mikeamp = .1;
freq = 2.0;
decay = 6.0;
n = 0;
if (numKeys > 0){
n = nearestKey(time).index;
if (key(n).time > time){
n--;
}}
if (n == 0){ t = 0;
}else{
t = time - key(n).time;
}
if (n > 0){
v = velocityAtTime(key(n).time - thisComp.frameDuration/10);
value + v*amp*Math.sin(freq*t*2*Math.PI)/Math.exp(decay*t);
}else{value}


