We do, in fact, crossfade the animation back to the movement blend tree in the PlayerFreeLookState
's Enter()
method. This happened way back in the âAttacking State Polishâ lecture in the âMelee Combatâ section (I think. Iâm following code commits in the repo)
This line (from the repo)
stateMachine.Animator.CrossFadeInFixedTime(FreeLookBlendTreeHash, CrossFadeDuration);
transitions from the current animation state (your landing state) to the blend tree state.
I suspect your changes isnât working because of this
private readonly int FreeLookBlendTreeHash = Animator.StringToHash("FreeLookBlendTreeHash");
I donât think you named your blend tree âFreeLookBlendTreeHashâ. Check that this string matches your blend tree perfectly