In this tutorial, we will walk you through the process of setting up and optimizing a root motion-based locomotion system, including input keys, movement mechanics, camera management, and more. Whether you're a beginner or looking to refine your skills, this video has something for you.
📚 In this tutorial, you will learn:
- Managing camera movement, including camera lag and FOV.
- Implementing animation blueprints and setting rotation rates.
- Calculating character speed using root motion.
- Selecting and managing stand-to-move animations.
- Usage of animation graphs and blending poses.
- Usage of state machines.
⌨️ Input keys:
- Press "Space Bar" = Start Jump.
- Press "W,A,S,D" = Start to Move.
- Press "F" = Hold Weapon.
🔗 Links:
Project Files: https://www.patreon.com/posts/107257023
System Document: https://docs.google.com/document/d/1lVejOjnyAzVVTIBa0tN0C9X8cch-td9GnH8PRPQTsOw/edit?usp=sharing
👇 Follow me on social media:
Discord Server: https://discord.gg/ZB7SMbbxQz
Twitter: https://twitter.com/LocoDev7701
Instagram: https://www.instagram.com/devloco
🎬 Chapters:
0:00 - Introduction
0:08 - Overview of Root Motion Locomotion System
0:21 - Demonstration of Locomotion and Features
0:38 - Input Keys and Movement Mechanics
1:01 - Running and Jumping Animations
1:14 - Weapon Pickup and Turn in Place
2:09 - Camera Management: Lag and FOV Control
2:33 - Setting Up Camera Events
3:12 - Timeline Configuration for Camera Effects
4:08 - Managing Camera Movement
4:48 - Adjusting Camera Lag Speed
6:00 - Triggering Camera Events
6:50 - Animation Blueprint Setup
7:11 - Setting Rotation Rates
8:14 - Using Curves for Rotation Control
10:00 - Enabling and Disabling Root Motion
11:35 - Fixing Character Snapping Bugs
12:00 - Managing Character State Transitions
13:09 - Selecting and Managing Stand-to-Move Animations
15:51 - Configuring Stand-to-Move Event Graph
17:27 - Core Logic and Direction Calculation
19:41 - Calculating Actual Ground Speed
20:58 - Turn in Place Adjustments
22:03 - Detailed State Transition Rules
28:09 - Implementing Weapon Poses
30:02 - Using Layered Blends for Smooth Transitions
30:41 - Final Thoughts and Outro
Hashtags:
#ue5 #gamedevelopment #unrealengine5 #rootmotion #gamedev