Animation changed to use velocity instead of input.

This allows entities with no command components to animate.