I have a character standing jump animation with that the character at start prepares for the jump (flexing downwards) and then jumps up in the air and i'm wondering how to get it working properly with Mecanim in Unity.
The difficulty is that the jumping in my code isn't just an on/off trigger but is triggered by a Y velocity that determines how high the character can jump.
With my current approach, when jumping the character lifts instantly off the ground and then executes the starting part of the animation which of course looks wrong.
Is there any way to configure single jump animations with Mecanim to work with a Y velocity or do I have to split the animation into three parts (prepare/jump/landing) for this?