Search Unity

Companion AI | AI Series Part 38 | Unity Tutorial

Discussion in 'Community Learning & Teaching' started by ChrisKurhan, Apr 12, 2022.

  1. ChrisKurhan

    ChrisKurhan

    Joined:
    Dec 28, 2015
    Posts:
    268


    Hey all! Happy #TutorialTuesday!

    This week 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!u to have a highly configuration-driven surface management system where you can reuse effects across different impacts when that makes sense, and easily add/change effects when you want a unique effect!

    As always, the full project is available on GitHub!

    If you're getting value from this series, please consider liking, subscribing, and sharing to help these tutorials reach and add value to even more people. New tutorials are posted every Tuesday!
     
    mgear likes this.