Animator's state transition timing

momomo

New member
Hello, I'm a newbie to this asset.

I've added a sliding action, but when I start it while shooting, it goes to "BaseLayer/Movement/Combat Movement" and then to the sliding animator state I created.
I want to slide quickly, but is there something I'm missing in the settings?

If I call
m_AnimatorMonitor.SetAbilityIndexParameter(100);
in the "AbilityStarted" method in the Sliding class inherits from the Ability class, it behaves the way I want it to, but I don't think I need to do this.
*100=Sliding Ability Index

Originally, it seems that the AbilityIndex is not updated until one frame after AbilityStarted is called. I wonder if this is the cause.
 
The ability index is an int so you cannot set a damping value on that. But you can adjust the speed of the transition in order to provide a slower or faster transition.
 
Top