llamacademy / ai-series-part-4

Full project of the end state of the AI Series Part 4 video where we spawn NavMeshAgents at runtime

Home Page:https://youtu.be/5uO0dXYbL-s&ref=github

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Navmesh AI Tutorial 4 - Spawning Enemies

The below video is the tutorial that ENDS where this project is. You can mostly follow along by checking out part 3 How to Animate NavMeshAgents. The scene is different, but the shape of the scene does not particularly matter, we just needed more space.

Youtube Tutorial

IMMEDIATELY AFTER CHECKING THIS OUT IMPORT THE UNITY CHAN MODEL FROM THE UNITY ASSET STORE or you will be missing the model! (it's free)

In this project we have:

  1. Simple click to move.
  2. An enemy that follows the player
  3. NavMeshLinks to allow the player and enemy to jump from one platform to another, and on top of some walls.
  4. AgentLinkMover to control how NavMeshAgents will traverse NavMeshLinks
  5. Animated 3D Model based on NavMeshAgent's movement
  6. Dynamically spawned enemies at random points on the NavMesh
  7. 2 Enemy types, configured via a ScriptableObject, that path differently based on Agent Configuration

Requirements

About

Full project of the end state of the AI Series Part 4 video where we spawn NavMeshAgents at runtime

https://youtu.be/5uO0dXYbL-s&ref=github

License:MIT License


Languages

Language:ShaderLab 76.4%Language:C# 12.8%Language:HLSL 10.7%