A Perfect Jump in Unity - A Complete Guide @pressstart6864
A Perfect Jump in Unity - A Complete Guide  @pressstart6864
Uploaded October 2019 | Updated September 2026, 2 weeks ago
In this video we show you how to setup perfect Mario-like jumping in Unity.
SUBSCRIBE: bit.ly/2Js78lE
============
SUPPORT: patreon.com/pressstartclub

In this video, we cover:
0:40 - Using a Ground Layer to detect if player is touching the ground
1:23 - Understanding How RayCasts work
2:15 - Applying a Physics2D.Raycast to check for Ground Collision
3:16 - Testing and Tweaking Ground Collision
3:55 - Using Gizmos.DrawLine
5:10 - Applying a vertical force for jump
6:25 - Adding Input Control
7:25 - Explaining Fall Multiplier
8:00 - Modifying Gravity and Physics
9:30 - Testing out our perfect jump
10:00 - Button Delay
10:45 - Adding a Jump Delay
11:50 - Adding RayCasts to both sides of our collider
13:20 - Setting up a Jump Squeeze Animation
14:55 - Applying the Jump Squeeze for landing
15:42 - Falling Animation
16:26 - Final Product

PART 1: Animation
youtube.com/watch?v=Gqel6Ed4LpY

PART 2: Running
youtube.com/watch?v=USLp-4iwNnQ

"Better Jumping in Unity With Four Lines of Code" by Board to Bits:
youtube.com/watch?v=7KiK0Aqtmzc

COPY & PASTE CODE FROM THIS TUTORIAL:
https://pressstart.vip/tutorials/2019/10/15/104/character-jumping.html

MORE TUTORIALS:
https://pressstart.vip/unity-tutorials
A Perfect Jump in Unity - A Complete Guide#BrackeysGameJam: Day 4Super Mario - Running Tutorial in UnityUnity - How to Detect Collision in C# [Using Colliders]Unity - How to Keep ScoreUnity - Keeping The Player Within Screen BoundariesWorking with Time in UnityUnity Movement [RigidBody vs Translate]Swiping Pages in UnityUnity - Creating a Level Select Screen in C#Mobile Joystick Movement + Shoot in UnityUnity - How To Save Game / Data [PlayerPrefs]
Press Start |

A Perfect Jump in Unity - A Complete Guide

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER