Create a Jumping System @DitzelGames
Create a Jumping System  @DitzelGames
Uploaded June 2018 | Updated September 2026, 27 minutes ago
I will show you how to create a Jumping System in Unity. The hardest part is to prevent a double jump or mid air jumps. We will prevent this by a grounded check. Have fun!

private void Jump()
{

var grounded = Physics.Raycast(transform.position + Vector3.up * 0.05f, Vector3.down, 0.1f);
Debug.DrawRay(transform.position + Vector3.up * 0.05f, Vector3.down, Color.red, 0.1f);

if (JumpButton.Pressed && grounded)
{
Rigidbody.velocity = new Vector3(Rigidbody.velocity.x, JumpForce, Rigidbody.velocity.z);
Actions.Jump();
}

}
Create a Jumping SystemC# Inverse Kinematics in Unity 🎓I make a Runner Game in 60 MinutesUnity Game Slow? Performance #3 - ProfilerMaking of a Jump n Run Game #2Car Networking with Unity and PUN 2 | MMAG #16Creating A Health And Magic System In Unity 💥MY GAME PROJECT - Made with Unity #008SCRAPPY TENNIS!!!I PLAY MY OWN GAME! - 🎮 - LUDUM DARE 40Creating the Level - 🔫 Shooting 4/6Make a Ring Menu in Unity  - #LegoGame 8
DitzelGames |

Create a Jumping System

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER