Hello Dan,
I tried modifying your scalar bounce expression by adding outPoint to it, where the outPoint and the inPoint have the same value. However, the overshoot failed to work. Is there any possible way to do this? Thank you. :
freq = 3;
decay = 5;
t = time – inPoint;
startVal = [0,0];
exit =[0,0]
endVal = [effect(“Slider Control”)(“Slider”),effect(“Slider Control”)(“Slider”)];
dur = 0.1;
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);
}
middle = (inPoint+outPoint)/2;
v = time < middle ? easeIn(time,inPoint,inPoint+dur,startVal,endVal) : easeOut(time,outPoint-dur,outPoint,endVal,exit);
v
Regards,
Obed