-
Offsetting Position Expression to InPoint Time
Hello,
Please, I need some help. I am trying to offset position animation to the inPoint time. However, it doesn’t seem to work. Could someone kindly help me out?
Thank you.Regards,
Obed
function easeInOutCubic(t) { return t<.5 ? 4*t*t*t : (t-1)*(2*t-2)*(2*t-2)+1 };startVal = 2900;
endVal = 960;
startDur = inPoint;
endDur = inPoint+2;t = linear(inPoint,startDur,endDur,0,1);
e = easeInOutCubic(t);
x = ease(e,0,1,startVal,endVal);[x, value[1]];