This is great Filip! Thank you so much. You are a living deity.
However, now that I see it in action, I believe having my object move at half the speed(velocity) it was traveling between the two keyframes is closer to what I’m thinking of (very fast between the 2 frames, then overshooting the last keyframe at half or a third of the speed it was traveling, coming to a slow stop). I can get close to this idea by dividing the “overshoot” by 2:
overshoot= (t – t*t/(decayTime*2))*velocityAtTime(last_key_time-0.001)/2;
Unless you have a better way of achieving this?
Thanks again!