Course Overview
Welcome to Unreal Engine 5 C++ Climbing System, in this course, you’ll learn how to build a robust climbing system completely from scratch with a deep understanding of how to handle the climb physics, create climb locomotion, climb up and down the ledge, hand and leg IK using control rig, vaulting mechanics, hopping capabilities and a range of other exciting features for a robust climbing experience.
In the first section, we’ll look into how we can handle the movement for our climbing , and start with a new enhanced input with a custom movement component to handle the basic climbing logic. Then we’ll go over how to use different traces to get hold of all the climbable surface info we need, and handle all the physics code needed in order for us to move our character in a custom movement mode. Once we have a working physics, we’re gonna process all the climbable surface info and calculate the velocity and rotation for our climbing.
In second section, we’re going to take care of climbing up, climbing down, climbing to the left, climbing to the right, climb up the ledge, climb down the ledge, enter and exit the climb state. We’ll begin with a charcter anim instance class in C++ and rebuilding our existing animation blueprint. Then we’ll go through the mixamo animation pipeline and look at how we can make use of mixamo converter to retarget animation. Next, we’ll handle the climb locomotion and create our own algorithms to check if we have reached the floor or the ledge.
In the third section, we’ll build a control rig for our hand and leg IK to fix the placement issue when we are climbing, and we’ll dive into motion warping and enhanced input system to implement features like vaulting and hopping. We’ll start with a handy climb IK trace function in our control rig, and dynamically adjust the position of our hands and feet based on the surface. Then we’ll go into motion warping and create more algorithms to check which surface is vaultable, and dynamically set our target point during runtime. After we have fully functional vaulting mechanics, we’ll dive deep into enhanced input system and look at how we can use it to create a two key action that only be triggered during climbing.
FAQ
FAQ area empty
Course curriculum
Chương 1 Introduction 6 bài · 14 phút
- Course Intro Học thử 4:13
- Some Common Questions You May Have Học thử
- Create A C++ Project Học thử 1:55
-
How to get help?
-
Debug Helper 5:13
- TObjectPtr Học thử 2:22
Chương 2 Climbing Movement 15 bài · 1 giờ 54 phút
- Climbing Movement Section Overview Học thử 1:04
- Enhanced Input Học thử 7:06
-
Custom Movement Component 8:59
- Capsule Trace Học thử 9:04
-
Climb Trace 6:18
-
Eye Height Trace 6:53
-
Toggle Climbing 13:08
-
Entering Climb State 9:34
-
Phys Climb 8:17
-
Process Climbable Surfaces 10:26
-
Handle Climb Movement 11:32
-
Cross Product 11:00
-
Dot Product 9:13
-
Share Task: Share Your Results
-
Section Wrap Up 1:22
Chương 3 Climbing Animation 21 bài · 2 giờ 20 phút
-
Climbing Animation Section Overview 1:37
-
Character Anim Instance 10:56
-
Rebuild Anim BP 9:26
-
Mixamo Animation 7:54
-
Idle To Climb Montage 10:51
-
Transition Between Idle And Climb 9:52
-
Climb Locomotion 16:12
-
Check Has Reached Floor 11:36
-
Coding Challenge: Ledge Detection 2:17
-
Share Task: Share Your Solution
-
Solution: Ledge Detection 6:18
-
Download Ledge Animation 5:17
-
Control Rig For Animation 7:51
-
Climb Up Ledge 9:46
-
Fix Climb Up Right Hand Position 1:45
-
Coding Challenge: Check Can Climb Down 1:38
-
Share Task: Share Your Solution
-
Solution: Check Can Climb Down 8:37
-
Adjust Climb Down Ledge Animation 5:32
-
Climb Down Ledge 9:25
-
Section Wrap Up 2:58
Chương 4 Advanced Climbing Features 21 bài · 2 giờ 29 phút
-
Advanced Climbing Features Section Overview 1:30
-
Getting Familiar With Control Rig 7:42
-
Climb IK Trace 8:41
-
Left Foot IK 10:49
-
Right Foot IK 5:34
-
Section Challenge: Hands IK 11:35
-
Share Task: Share Your Results
-
Import Vaulting .fbx
-
Motion Warping 8:07
-
Check Can Start Vaulting 13:37
-
Character Vault 13:38
-
Delegate For Climbing State 11:54
-
Climb Input Mapping Context 11:00
-
Chorded Action 4:40
-
Get Last Input Vector 8:32
-
Adjust Hopping Animation 8:26
-
Hop Up 12:16
-
Section Challenge: Hop Down 7:04
-
Fix Vaulting Conflict and Interping Speed 3:03
-
Optional Challenge: Hopping Left/Right
-
Section Wrap Up 1:15
Chương 5 Congratulations 1 bài · 2 phút
-
Where to go from here? 2:12
Requirment
-
Experience with C++ in Unreal Engine is required
Outcomes
-
Use custom character movement component to extend the movement logic
-
Learn all sorts of important math concepts like dot product/cross product for climbing calculation
-
Use control rig to add root motion to mixamo animation
-
Use control rig to adjust mixamo animation
-
Understand the animation logic behind animation blueprint
-
Utilize control rig for hand and feet IK
-
Make use of motion warping for advanced character movement
-
Create custom algorithms for ledge and floor detection
-
Build a robust climbing system with clean and extendable code
-
Create custom algorithms for different climbing condition check
0 Student
6 Courses
0 review