Intro to Steering Behaviors in Godot part 1: Follow AI (tutorial)
Steering behaviors allow you to code smooth AI movement using simple vector math. Learn what steering behaviors are and how to use them in this series!
Get the project on GitHub: https://github.com/GDQuest/Godot-engine-tutorial-demos/tree/master/2019/08-13-steering-follow-arrive (please ⭐ Star the repository!)
Get our Godot platformer character course: http://bit.ly/godot-2d-platform-character-course
CONTENTS
00:00 Series intro
02:56 Getting the project files
03:20 Overview of the start project
04:12 The follow AI agent scene
07:21 Coding the AI follow agent
11:17 Creating a Steering Autoload
12:46 Coding the Follow function
18:19 Using our follow steering function
20:31 Testing the AI follow and troubleshooting
21:31 Adding collision detection
22:07 Making the AI stop when it reaches its goal
23:37 Rotating the AI
24:56 Conclusion
Discord ► https://discord.gg/87NNb3Z
Twitter ► https://twitter.com/nathangdquest
This video is licensed under the CC-By 4.0 license: https://creativecommons.org/licenses/by/4.0/
You can attribute it to "GDQuest and contributors - https://www.gdquest.com/"