Unfortunately new problem arises. Everything is clear with idle animations, but this approach does not work with walk animations. Some walk animations need root motion enabled and if we enable it - it will stop pathfinding- we will need to use some…
Ok, solved it. I just added behavior to state and overloaded OnStateEnter and OnStateExitm setting animator.applyRootMotion to true and false.
To Make character stop floating: animator.updateMode = AnimatorUpdateMode.AnimatePhysics;