I’m trying to animate my character falling using a falling animation and a landing one. The problem is that the falling distance is not always the same and sometimes the falling animation finishes playing but the player still has not reached the floor to play the landing animation, which forces the animator to lock in the falling state. So how could I make the falling state last until the landing one has to be played and only then make the transition?
I would make the falling animation loop indefinitely until the character touches the ground, that way regardless of the fall distance he will be in the falling state.
If your falling animation can’t be loop because for example, the animation has a special movement at the beginning of the fall that would make the loop weird, then I would suggest dividing the animation into start of fall and falling, and make the falling part loop.
Hope I was able to solve your issue.