Can I change animation speed with mecanim?

Can’t find it anywhere on google, only discussions

I would like to change animation speed as characters speed goes up etc how can I do this?

In unity 5.2 or other version,you could try this:

  1. add a float parameter in animator,such as “runMultiplier”
  2. select the animation clip in animator you want to change speed,such as “run” animation clip
  3. in the inspector window check the Parameter checkbox below the Speed and select the parameter you just add,in this case,it is “runMultiplier”
  4. you can change the run animation speed by Animator.SetFloat(“multiplier”, 0.1f) in script.

Hope to help you~

If you’re referring to a single clip/animation over the entire set, that doesn’t exist yet :frowning:

But you can control it using Animator.speed, 1 is normal/default speed, 2 would be double, etc. However the failure is it has a global affect for the Animator. There are rumors of a per clip/animation speed being added in 5.1.

See the discussion here on the forums, this has been a feature many have requested… at least on the forums.