Directional Ledge Climbing System 2.0 Tutorial on UE5

Опубликовано: 06 Апрель 2024
на канале: LocoDev
7,523
303

Welcome back to another Unreal Engine 5 tutorial! In this video, we will explore the directional ledge climbing system. This tutorial is perfect for beginners learning game development with blueprints in Unreal Engine 5. Follow along as we demonstrate the mechanics of moving upwards, downwards, left, and right on ledges, as well as jumping between them. We’ll cover setup, coding, and implementation in detail.

📚 You'll learn to have basic understanding of:
In-Game Collisions.
Timeline Functionalities.
HowTraces Work.
How to Setup Structures.
How to Setup Paremeter Based Functionalities.

⌨️ Input keys:
Press "E" = Attach/Detach on a Ledge.
Press one of the "WASD" keys = Move on Ledges.
Hold "Left CTRL" and "A" or "D" = Move Slower.
Hold "Shift" and "A" or "D" = Jump Left or Right.

🔗 Links:
Project Files:   / 101785226  

System Document (used in the video): https://docs.google.com/document/d/1B...

Learn how to create timelines: https://docs.unrealengine.com/4.26/en...
   • Learn how to use Timelines - UE5 Tuto...  

👇 Follow me on social media:
Discord Server:   / discord  
Twitter:   / locodev7701  
Instagram:   / devloco  

Patreon:   / locodev  

🎬Chapters:
0:00 - Introduction
0:08 - Overview of Ledge Climbing System
0:20 - Demonstration of Climbing Mechanics
1:09 - Adjusting Character for Optimal Animation
1:48 - Turning Off Traces for Testing
2:07 - Animation Improvements with IK
2:26 - Foot Planting and Realism Enhancements
3:01 - Fixing Character Height Issues
4:08 - Ledge Animation Fixes for Patrons
5:00 - Testing Character Behavior on Different Blocks
6:27 - Tutorial Start: Preparing Objects
7:19 - Ignoring Trace Visibility for Walls
8:02 - Detecting Ledges and Starting Hanging
9:03 - Function: Ledge Hang Action
9:57 - Detecting Ledge Suitability
12:05 - Calculating Position of Capsule Trace
13:59 - Verifying Ledge Surface Angle
14:54 - Calculating Slope Degree Angles
15:48 - Detecting Space for Leg Contact
16:31 - Playing Hang Idle Animation
18:06 - Setting Character Movement Mode
18:45 - Positioning Character on Ledge
21:11 - Rotation and Location Calculations
23:45 - Directional Movement Inputs
31:25 - Jumping Between Ledges
34:39 - Adjusting Animation Delays
36:27 - Debugging Character Rotation
38:02 - Setting Actor Rotation and Location
41:25 - Detaching from Ledge
42:15 - Animation Blueprint States
43:04 - State Machine Setup for Ledge System
44:17 - Conclusion and Final Thoughts
44:29 - Outro and Additional Resources

Hashtags:
#ue5 #gamedevelopment #unrealengine5 #gamedev #blueprints