Objective: Add a new idle jump animation
In this article, I will show you how I added an idle jump animation.
First, we can go to Mixamo and find an animation to import to Unity. Note there are sliders on some of the jump animations to make a long duration idle jump or shorten up the animation, so you may need to download a modified animation depending on how your game looks.
Then, we can update the Rig to “Humanoid” and duplicate the animation so it is editable.
After adding to Unity, we can drag the animation to the Animator window and set the transitions for when jumping is true and false.
Note there is no additional programming needed. We already have conditions in the player C# script to check for pressing the space bar and setting a jump variable true and calling for the animation. The difference in jumps is the running jump is called if the player is also running.
Now we can see this in action.
Thank you for your time!