PsyDuck Hunt Tutorial - Episode 7 - Gravity and Jumping

Опубликовано: 29 Июль 2026
на канале: DrBo6
237
1

In this module, I am going to implement gravity and allow our player to jump (but only when they are actually on the ground).

Goals
Setup a simple gravity script
Allow for players to jump when they are on the ground
Visually debug raycasting

Timestamps
0:00 Intro and recap
0:27 Implementing gravity
4:31 Fine-tuning the capsule collider
5:34 Add upwards velocity to jump
11:09 Raycast to detect the ground
17:18 Visualize the raycast
19:38 Disable double jumping