In this video, I'll show you how to create your first NPC with artificial intelligence (AI) in Unreal Engine 5! 🚀 We'll cover key AI elements: Behavior Tree, Blackboard, and AI Tasks, create your first task, and use the default ones.
Using the example of a rabbit 🐰, we'll set up its behavior: it will choose flowers 🌸, move between them, and wait before changing flowers. This is the first video in a series on learning AI in Unreal Engine 5!
📌 What will we learn in this video?
✔️ How to create your first AI character in UE5
✔️ How Behavior Tree and Blackboard work
✔️ How to create your own AI Task and use the default ones
✔️ We'll set up AI movement and behavior logic
🔹 To be continued, subscribe so you don't miss out! 🔥
📌 Timestamps:
0:00 Introduction
0:28 Character Assets
1:24 AI Components in Unreal Engine
2:46 Creating a Behavior Tree and Blackboard
5:02 Creating an AIController
5:49 Linking an AIController to an NPC Character
7:26 Getting Started with the Behavior Tree
7:45 How Sequence and Selector Work
8:17 Adding the First Tasks to the Behavior Tree
8:44 What Behavior Will the Rabbit Be?
9:23 Adding MoveTo and the First Variable to the Blackboard
11:20 Running the Tree and Populating the Blackboard Variable from Blueprints
14:28 Adding Navigation to the Level
15:59 Adding New Tasks to the Behavior Tree
16:27 Creating a Custom Task for the Behavior Tree
19:07 How Do Created Tasks Work?
20:49 Adding objects to the level to move the rabbit
22:14 Adding logic to the created task
23:40 How to complete a task successfully?
24:52 Testing
25:43 Best Practices and how to avoid mistakes when working with Behavior Trees
28:06 Final testing
28:13 Conclusion
📢 Support the video with a like and subscribe if you found it helpful!
🎮 Support the channel and get bonuses:
🔗https://boosty.to/sikorskipishet
💬 Tell us in the comments what else you want to learn about AI for Unreal Engine 5! 🚀
#sikorskipishet #unrealengine5 #ai