Skip to content

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!

License

Notifications You must be signed in to change notification settings

llamacademy/ai-series-part-38

Repository files navigation

Navmesh AI Tutorial 38 - Companion AI

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.

Youtube Tutorial

Patreon Supporters

Have you been getting value out of these tutorials? Do you believe in LlamAcademy's mission of helping everyone make their game dev dream become a reality? Consider becoming a Patreon supporter and get your name added to this list, as well as other cool perks. Head over to https://patreon.com/llamacademy to show your support.

Phenomenal Supporter Tier

  • YOUR NAME HERE!

Tremendous Supporter Tier

  • YOUR NAME HERE!

Awesome Supporter Tier

  • Andrew Bowen
  • Gerald Anderson
  • AudemKay
  • Paul Berry
  • Matt Parkin
  • YOUR NAME HERE!

Supporters

  • Bastian
  • Trey Briggs
  • YOUR NAME HERE!

Other Projects

Interested in other AI Topics in Unity, or other tutorials on Unity in general?

Requirements

  • Requires Unity 2019.4 LTS or higher.
  • Utilizes the Navmesh Components from Unity's Github.
  • After you open this project, make sure to import the Unity Particle Pack so it will have the destruction particle system!

About

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!

Topics

Resources

License

Stars

Watchers

Forks

Sponsor this project