Smooth Up & Down Stair Handling | Godot 4 FPS Controller Tutorial
Majikayo Games Majikayo Games
1.74K subscribers
3,827 views
0

 Published On May 13, 2024

The third video of a series where we will build an FPS game. This video shows how to implement smooth up & down stair handling.
Full Playlist:    • Godot FPS Tutorial  
GitHub Repo: https://github.com/majikayogames/Simp...

CSGStairMaker3D scene which you can use in your own projects (CC0/public domain): https://github.com/majikayogames/Simp...

All source code and included assets are licensed under the CC0/public domain license.

Contents of this video:
0:00 - Intro
0:45 - Simple method
1:37 - Final result preview
1:51 - CSGStairMaker3D
2:22 - Add 2 Raycast3Ds to your CharacterBody3D
3:53 - Utility functions setup
8:44 - Add variables
10:09 - Snapping player down to stairs
17:01 - Snapping player up to stairs
24:07 - Camera smoothing
29:12 - Final result and outro

If this tutorial helped you, consider supporting the channel on Patreon or Ko-fi:
  / majikayogames  
https://ko-fi.com/majikayogames

show more

Share/Embed