Unreal Engine Behavior Tree Tutorial - Smooth AI Character Rotation with Rotate to Face BB Entry

Опубликовано: 15 Март 2021
на канале: Mike Dolan
6,343
117

Wondering how to rotate an AI character smoothly? Is your AI character turning choppy or too fast? I have some tips on using Rotate to Face BB Entry so you can get your AI looking smooth. This is a Blueprints-only tutorial so you can work with AI without any C++ knowledge. In fact, the basic behavior tree flow is very much like blueprints - a nice visual way to program AI. I plan on releasing more Unreal Engine Behavior Tree tutorials as I learn more. Please like and subscribe as well as leave a comment about an AI feature you would like me to look at!

Adding the tutorial file here - also has the enter exit vehicle stuff from a different tutorial. This is on 4.27 but should probably convert to UE5? I hope to make some new tutorials for UE5 soon so comment if you want me to cover stuff like this!

https://unrealiseasy.com/wp-content/u...

I am hosting the file on my tutorial blog that I have been working on. Text based tutorials if that is your thing: https://unrealiseasy.com

0:00 Intro
1:10 Overview of my AI Setup
1:40 Find Target Custom Behavior Tree Task
2:14 Rotate to Face BB Entry Behavior Tree Task
2:45 Gotchas for Rotate to Face BB Entry

Covered -
A custom behavior tree task for finding the player and saving a reference to the blackboard.
Rotating a character based AI
How to get the AI to turn smoothly
Adjusting the speed of the turning
Why isn't the AI turning? Some boxes to check and uncheck on the AI Character Movement components.
smooth moves 😎