i have no idea why you would plug something called InterpSpeed into a function that wants an alpha value… did you mean InterpPosition? also, springs don’t have alpha values, because they are not like a linear interpolation or a quadratic interpolation. Springs are more of a physical simulation of potential energy storage, rather than a relationship between input and output pairs. a spring is not a math function that can be plotted, it updates based on feedback.
EventTick()
{
springOffsetFromEquilibrium = SpringPos - SpringTarget ;
springAccel = -(springOffsetFromEquilibrium * springStiffness) - (springVelocity * Damping) * deltaSeconds;
springVelocity += springAccel;
SpringPos += springVelocity * deltaSeconds;
}
