Home Artists Posts Import Register
The Offical Matrix Groupchat is online! >>CLICK HERE<<

Content

Hi everyone, we've just released a tutorial looking at how to create an animated jump for a character in Unity. Hope you find it useful.

Files

Animated Character Jump (Unity Tutorial)

In this Unity tutorial we're going to look at at how we can add an animated jump to a character. We’ll look at how we can trigger animations when the character jumps, falls and lands. The project files are available to our patrons here: ► https://www.patreon.com/posts/59537187 Want to follow along? This project is a good starting point ► https://www.patreon.com/posts/56850268 The final script can be found here ► https://dotnetfiddle.net/LS1rhW Help support our work: ► Patreon: https://www.patreon.com/ketragames ► Ko-fi: https://ko-fi.com/ketragames Follow us: ► Ketra Games: http://www.ketra-games.com ► Patreon: https://www.patreon.com/ketragames ► Twitter: https://twitter.com/ketragames ► Facebook: https://facebook.com/ketragames Introduction - 0:00 Downloading the Assets from Mixamo - 0:41 Setting up the Animations - 2:55 Creating the Animation States and Transitions - 4:52 Setting the Animator Parameters from a Script - 9:29 Initial Testing of the Jump - 12:15 Fixing issue 1 - 12:40 Fixing issue 2 - 13:24 Summary - 15:09 #KetraGames #LearnUnity #UnityTutorials #UnityTips

Comments

ketragames

Hi Christian, you can use root motion with a generic rig. To get it to work you still need to setup the avatar in the same way as on a humanoid rig. In addition you also need to select the Root Node on the rig tab of the character model.

ketragames

Alternatively, you don't need to use root motion at all if the animations you have don't support it. In this case, you would need to move the character forward based on the player input. Our earlier tutorials have examples of this. For example, the following may help - https://www.patreon.com/posts/52521280

Anonymous

Thank you! I really appreciate it. I was able to get things working after some tweaking to the script.