-
overshoot expression bug
hey guys i recently used an expression that creats overshoot in the expression selector via text animators but it seems to be buggy, sometimes it renders just fine, and sometimes it just causes ae to not show a preview, so really the issue comes and goes, when i delete all the cache it seems to be fine, but it becomes more and more often so it gets annoying and the whole expression becomes useless (the expression is from motion script site)
so this is the expression:
freq = effect(“Speed”)(“Slider”);
decay = effect(“decay”)(“Slider”);
maxDelay =effect(“delay”)(“Slider”);
delayAddOn=effect(“delay”)(“Slider”)
seedRandom(textIndex+delayAddOn,true);
myDelay =textIndex/(0.1+maxDelay);
t = time – (inPoint + myDelay);
startVal = [100,100];
endVal = [0,0];
dur = 0.2;
if (t < dur){
linear(t,0,dur,startVal,endVal);
}else{
amp = (endVal – startVal)/dur;
w = freq*Math.PI*2;
endVal + amp*(Math.sin((t-dur)*w)/Math.exp(decay*(t-dur))/w);
}
for some reason i cant upload here the animation preset
system specs
win 10
AMD Ryzen 9 5900X 12-Core Processor 3.70 GHz
rtx auros 3080
32 gb ram
1 tera hd and another 1 tera for cache