Animator.GetNextAnimatorStateInfo

At 6:22
How does the animator knows our next state ? we didn’t make and transactions in animator
is it the closet state to our current state ? or how it works beacuse i dont get it

When we call stateMachine.Animator.CrossFadeInFixedTime(), the animator will transition from the current state to the new state that we’re crossfading. The current state will be the Animation State when we make the call, the next state will be the state we’re instructing CrossFaceInFixedTime() to change to. After this transition is complete, then the state we’re crossfading TO will become the current state, and there will be no next state.

1 Like

This topic was automatically closed 20 days after the last reply. New replies are no longer allowed.

Privacy & Terms