Working on IdlePoser, figuring out how to better smooth the transition between states. Instead of the fixed Smoothstep curve I want to use quadratic ease in/out curves with a linear part in the middle. Parameters a and b are the ease in/out times in seconds, while d is the overall duration of the transition, also in seconds. The tricky part is to calculate the curves in a way that the derivative of the combined curve, which corresponds to the movement speed of the animation, is continuous and has the desired linear acceleration/deceleration at both ends. I think I figured it out now :)
But why? You remember the trouble with the walking animation? This should hopefully help with that...and that is why you learn math in school, kids.