[Originally posted April 15 2012]
This weekend I finished an animation system in which the movement speed of a character is based on the animation rather than set in code for a more realistic look.
The following animation may seem basic, but the robot’s speed actually changes each frame to the speed set by the animator at that frame. This is a very good thing since characters don’t always move at a constant speed during their walk cycle. For example, if a character is injured and is limping while walking, his movement speed will need to change a lot during his walk cycle.
Next, I’ll try to mix 2 walk animations cycle (slow and fast) to regulate the walking speed with a controller’s analog stick.
Oh, and thanks to my good friend JF for the place holder animations!