I was going to update the documentation on speedRatio needing to be negative for reversing animations in AnimationGroup.
i found a different section of documentation that mentions speedRatio. and I went to the playground.
for fun, i just changed speed to a negative value, and the animation…changed?
it appears that the speedRatio signage is applied to the value of of the key frame. so when i make it a negative number, instead of scaling in, it scales out.
is this by design? All of the documentation I’ve seen indicates the speedRatio is about speed of animation. I guess when going backwards in an animation, to reverse the operation, negating the value in the key is how you do it.
I feel like speedRatio should be an absolute value, and the engine determines neg/positive depending on if frame From is < frame To.
also, a helper .reverse() (or .playReverse) function might nice. right now to start an animation, you invoke .start(). to reverse, you have to use .start(true/false, speed, from, to)