Smooth Up & Down Stair Handling | Godot 4 FPS Controller Tutorial

แชร์
ฝัง
  • เผยแพร่เมื่อ 29 ก.ค. 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: github.com/majikayogames/Simp...
    CSGStairMaker3D scene which you can use in your own projects (CC0/public domain): 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
    ko-fi.com/majikayogames

ความคิดเห็น • 68