FPS Smooth Stair Climbing - Godot FPS Series #3
Автор: StayAtHomeDev
Загружено: 2025-09-17
Просмотров: 7542
Описание:
Learn how to create a smooth, automatic step climbing system for your FPS game in Godot. This tutorial takes you from basic collision detection to a polished system that handles steps, ledges, and obstacles without getting stuck. We'll cover collision normals, raycasting, height detection, camera smoothing, and edge case handling to create a solid movement system.
Perfect for indie developers working on FPS projects or anyone wanting to improve their player controller. All source files available to members!
🔥 Wishlist My FPS Game, Children of Kronos
https://store.steampowered.com/app/36...
-----------------------------------------------------------------------------------
✅ GET THE SOURCE FILES
/ stayathomedev_
✅ GET THE STARTERKIT PROJECT
/ make-fps-2-0-134340702
🏆 The FPS Tutorial Series 2.0 Roadmap
https://www.stayathomedev.com/blog/fp...
-----------------------------------------------------------------------------------
What's Covered:
Setting up the StepClimbing component and script structure
Detecting vertical surfaces using collision normals and raycasting
Solving capsule collision shape false readings with secondary raycasts
Measuring step height with downward raycasting
Implementing teleport-based step climbing
Adding input direction validation to prevent edge case bugs
Eliminating jitter on ledges and walls with dot product checks
Smoothing camera transitions during step climbing
Fixing crouch compatibility and run tilt issues
Preserving player momentum during step encounters
Complete testing and optimization walkthrough
-----------------------------------------------------------------------------------
CHAPTERS
00:00 Climbing Steps in Godot
00:34 How We'll Smoothly Climb Steps
00:52 Script Setup
01:30 The Problem With Relying on Collision
02:00 Checking for Steps by Raycasting
02:48 Getting the Step Height
03:51 Lifting the Player
04:12 Fixing the Jitter Edge Case
05:21 Smoothing with Camera Lerping
05:49 Completely Smooth Movement Fixes
06:24 Include Crouch Height in Height Lerping
06:50 Get Source Files for Future Videos
-----------------------------------------------------------------------------------
STAYATHOMEDEV ►► https://stayathomedev.com
TWITTER ►► / stayathomedev
BLUESKY ►► https://bsky.app/profile/stayathomede...
MY ITCH.IO PAGE ►► https://stayathomedev.itch.io/
-----------------------------------------------------------------------------------
Resources:
GODOT ENGINE ►► https://godotengine.org/
DOWNLOAD GODOT ►► https://godotengine.org/download
#godot #godotengine #godot4
Повторяем попытку...
Доступные форматы для скачивания:
Скачать видео
-
Информация по загрузке: