Home Creators Posts Import Register Favorites Logout
haven't archived this post yet. have a subscription? use the importer!

Content

Hey all! It's finally time that we learn to jump but to get it just right, we're going to learn from the 👑king! Today, we analyze Mario's jump from Super Mario Odyssey and try to recreate the characteristics that make it so great.

By the end of this video, we have ourselves three jump trajectories, each with their own animations! On top of that, we'll implement velocity verlet integration for reliability!

This does build off of the previous tutorial, so be sure to check that out too!

For access to the source code and full project file, check out this post!

Cheers! 🍻
-Nicky

Files

Previews only

How to Jump in Unity 3D: Jumping Like Mario [Built-In Character Controller #3]

A breakdown and explanation of how to jump in Unity3D! Learn to jump like Mario! Implement jumping using c#, the built-in character controller and Unity's New Input System! This beginner-friendly tutorial is a COMPLETE walkthrough of how to use Unity 3D's built-in character controller to get a character jumping while incorporating animations! In addition, we take the time to break down complicated concepts and understand how it all works! ACCESS PROJECT FILES & SUPPORT THE CHANNEL: 💛 https://www.patreon.com/iHeartGameDev WANT MORE? Interested in learning more about animating characters in Unity? Check out my growing series of tutorials: ✅ https://youtube.com/playlist?list=PLwyUzJb_FNeTQwyGujWRLqnfKpV-cj-eO ✦ Like the vid? Please consider Subscribing! https://bit.ly/2YdIb6j ✦ Missed out on the last episode? https://youtu.be/bXNFxQpp2qk SOCIAL: ✦ Discord https://discord.gg/2AxUvsa ✦ Twitter https://twitter.com/NickyBoccuzzi LINKS FROM THE VIDEO: 🤖 Download Jammo for YOUR game: https://assetstore.unity.com/packages/3d/characters/jammo-character-mix-and-jam-158456 ⭐ And Check Out @Mix and Jam ! https://youtube.com/MixAndJam 🌐 Learn about Jumping https://www.youtube.com/watch?v=hG9SzQxaCm8 http://lolengine.net/blog/2011/12/14/understanding-motion-in-games ⭐ Kyle Pittman https://twitter.com/PirateHearts ►TIMESTAMPS: Intro: 0:00 Mario Jump Analysis: 0:40 Episode 2 Recap: 1:40 Tutorial Start: 2:42 Add Jump Action: 3:02 Add Jump Callback: 3:53 What is a Callback: 4:20 Callback Phases Explained: 4:45 Concepts of Jumping: 6:56 Graphing Out A Jump: 7:50 Variables We Need To Jump: 8:30 Current Gravity Implementation: 9:13 Setup Jump Variables: 10:05 Building A Better Jump Shoutout: 11:37 Writing a HandleJump function: 11:57 Velocity Verlet And Euler Integration: 13:42 Fall Gravity Explained: 16:28 Adding Animation: 18:58 The Mixamo Animations: 19:45 Imported Animation Setup: 20:17 First Jump Animation State: 21:32 Accessing Animator In Code: 22:31 Mario Jump vs Jammo Jump: 23:33 Multiple Trajectories Section: 24:01 Dictionaries Explained: 24:42 Multiple Trajectories Implementation: 25:03 Coroutines Explained: 27:00 Multiple Trajectories Animations: 29:00 JumpCount Coding: 32:00 Final Product: 32:33 Next Time: 32:54

Comments

Anonymous

Very nice tutorial. Of all the tutorials that explained the physics on jumping, yours was the best. The only problem I noticed, is that the character jumps in the idle state if you push forward right before your jump. Other than that, I thought it was very cool