I’m a little confused about solving for the resulting new length of an animation after changing its speed. If I set the animation speed to 0.8, is the new length origLength/0.8, or origLength*1.2? Because those two equations give me different results.
As mentioned in my comment on Kacer's question, I solved the issue. if you want to make an animation have a specific length (for instance, for the sake of balance in my game I want all my different characters' attack animations to have the same length), set the speed to:
animation["animName"].speed = animation["animName"].length/desiredLength;
Is this what you’re looking for?
if so, then an animationspeed of 0.8 would make your animation play 20% slower.