playMaker

Author Topic: Set Animator Play Back Speed per animation/layer or body mask  (Read 8147 times)

mikejkelley

  • Full Member
  • ***
  • Posts: 136
Set Animator Play Back Speed per animation/layer or body mask
« on: November 10, 2013, 01:46:43 PM »
Currently it seems that Set Animator Play Back Speed sets speed for all animations in the animator. There are plenty of instances when a user might need to specify the animation or layer.

Currently I'm trying to create a state where my character is carrying a big gun. I need her walk/run/turn animations to slow while her arms mask retain the current speed (bcs recoil).

It would be great if we could get/set speeds on a per animation or even layer basis. Thanks!

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: Set Animator Play Back Speed per animation/layer or body mask
« Reply #1 on: November 11, 2013, 01:28:14 AM »

mikejkelley

  • Full Member
  • ***
  • Posts: 136
Re: Set Animator Play Back Speed per animation/layer or body mask
« Reply #2 on: February 08, 2014, 10:01:22 PM »
Hi Jean,

Thanks for this but it won't work in a lot of instances. For example, I have a button that slows down the characters walk speed and rotation to allow them to fine tune their aim. Currently if I use Set Animator Play Back Speed to 1/2, it will result in her shooting in slow motion as well. If I try to employ the workaround, I'd have to create additional states in Mecanim for every single animation other than aiming and firing. I realize it's an API thing, but please check if Unity resolves it in future releases.