Companion AI | AI Series Part 38 | Unity Tutorial #Shorts @LlamAcademy
Companion AI | AI Series Part 38 | Unity Tutorial #Shorts  @LlamAcademy
Uploaded April 2022 | Updated September 2026, 2 hours ago
Full Tutorial on YouTube: youtu.be/FMNoiqBAf_w

Learn how to create your very own Companion AI! In this tutorial video you will learn how to create a companion that follows the player when the player moves, rotates around the player when idle, and attacks nearby Attackable GameObjects when they come within range!

A very common mechanic in video games is to have AI that follows around the player. Some, like we're implementing today, are relatively simplistic and simply follow the player, maybe attack things, and provide guidance and a sounding board for the player throughout the game. Some are more complex with their own complex behavior trees to manage commands issued to them and responding to complex scenarios.

Today you will learn the fundamentals of creating a companion AI that can be extended to more complex use cases, or used "as is" if this is your use case!

As always, all code from this video is available on GitHub: github.com/llamacademy/ai-series-part-38

As usual with the AI Series, we're using the NavMesh Components: docs.unity3d.com/Manual/NavMesh-BuildingComponents.html not the built-in navigation system.

----

Believe in LlamAcademy's mission and have received value from the videos? Consider becoming a Patreon supporter: patreon.com/llamacademy

----
Most tutorials come from knowledge gained making https://survival.llama.software Llama Survival - a top-down zombie survival shooter for Android and iOS.
I also have some Unity Assets (affiliate link): assetstore.unity.com/publishers/22409?_aid=1101l9QvC

#unitytutorial #tutorialtuesday #gamedev #tutorial #unity #llamacademy #gamedevelopment #ai
Companion AI | AI Series Part 38 | Unity Tutorial #ShortsProjectile Trajectory with Simple Math & Line Renderer | Unity TutorialCinemachine Basics - Transposer & Composer for Top-Down Object Targeting #shortsParallax Occlusion Mapping: Depth Illusion in Shader Graph | Unity TutorialGun Attachment System | Gun Series 10 | Unity TutorialEvent Bus & Scriptable Object Event Channels | Unity Game Architecture TutorialHow you can use the new input system the old way | Unity TutorialOrbit Target with Cinemachine 3 | Unity TutorialI Made a Free and Open Source Minigolf Game with Unity. Heres How.UI Toolkit Templates are POWERFUL | Unity TutorialEvery UI Toolkit Scale Mode Explained | Unity TutorialAI Programming #shorts
LlamAcademy |

Companion AI | AI Series Part 38 | Unity Tutorial #Shorts

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER