Welcome to another Unreal Engine 5 tutorial! In this video, we’ll dive into creating a Grappling Hook System using blueprints. This guide is perfect for beginners in game development. Follow along as we cover setting up target points, implementing rope physics, and ensuring smooth animations for an engaging grappling experience.
📚 You'll learn to have basic understanding of:
In-Game Collisions.
Timeline Functionalities.
How Traces Work.
How to Setup Structures.
⌨️ Input keys:
Press "Left Mouse Button" = Start Grapple.
🔗 Links:
Project Files: / 103229573
Learn how to create timelines: https://docs.unrealengine.com/4.26/en...
• Learn how to use Timelines - UE5 Tuto...
Trace Calculation Code: https://blueprintue.com/blueprint/m40...
👇 Follow me on social media:
Discord Server: / discord
Twitter: / locodev7701
Instagram: / devloco
Patreon: / locodev
🎬 Chapters:
0:00 - Introduction
0:08 - Setting Up Target Points
0:52 - Customizing Trace Responses
1:23 - Demonstration of Grappling Hook Mechanics
2:03 - Tutorial Start
2:09 - Disabling Character Animation Blueprint
2:21 - Setting Up Rope Physics
3:01 - Creating a New Cable Actor
4:06 - Configuring Cable Length and Segments
5:13 - Collision Presets for Rope Physics
6:29 - Placing Target Points
7:55 - Customizing Collision Settings for Target Points
9:15 - Sphere Trace Calculation
11:48 - Detecting and Highlighting Target Points
12:13 - Checking for Walkable Surfaces
13:06 - Sphere Trace for Walkable Surfaces
13:43 - Calculating Target Rotation
14:48 - Ensuring Proper Grapple Distance
15:07 - Attaching Cable to Character's Hand
16:13 - Attaching Cable End to Character
17:03 - Adjusting Cable Length and Width
18:06 - Debugging Cable Attachment
19:59 - Setting Actor Location for Grapple
20:59 - Moving Cable to Target Location
21:59 - Finalizing Cable Movement to Target
23:57 - Animation Blueprint Setup
24:03 - Using Animation Class
24:51 - Animation Blueprint States
26:17 - Setting Up Grapple Animations
27:03 - Transitioning Between Grapple States
27:57 - Event Notifications for Grappling
28:52 - Setting Character Movement During Grapple
29:37 - Ending Grapple Animation
30:17 - Placing Grapple Target Points
31:01 - Experimenting with Different Animations
31:33 - Outro and Final Thoughts
Hashtags:
#ue5 #gamedevelopment #unrealengine5 #grapplinghook #gamedev