Forum Replies Created

  • …Given the speed of the leader, these values (for inertia, stiffness and time) are working for me the best… Thanks again!

    inertia = 0.01;
    stiffness = 1.10;

    lagValue = calcValue(0);
    f= thisComp.frameDuration;
    will=0;

    for (t=0; t<=time; t+=f) { delta = calcValue(t) - lagValue; will = will * inertia + delta*stiffness ; lagValue +=will } lagValue; function calcValue(t) { return thisComp.layer(index-1).position.valueAtTime(t-0.02) }

  • That works! Thanks for the help guys. I appreciate it.
    -Joseph

We use anonymous cookies to give you the best experience we can.
Our Privacy policy | GDPR Policy