Playmaker Forum

PlayMaker Feedback => Action Requests => Topic started by: mikejkelley on November 10, 2013, 01:46:43 PM

Title: Set Animator Play Back Speed per animation/layer or body mask
Post by: mikejkelley 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!
Title: Re: Set Animator Play Back Speed per animation/layer or body mask
Post by: jeanfabre on November 11, 2013, 01:28:14 AM
Hi,

 It doesn't look possible, but there are workarounds:

http://forum.unity3d.com/threads/160395-Mecanim-Change-animation-speed-of-specific-animation-or-layers

bye,

 Jean
Title: Re: Set Animator Play Back Speed per animation/layer or body mask
Post by: mikejkelley 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.