Skip to content

llamacademy/ai-series-part-11

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Navmesh AI Tutorial 11 - AI State Machines

The below video is the tutorial that ENDS where this project is. If you would like to follow along, check out the 10. Flying Enemies!

Youtube Tutorial

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. 4 Enemy types, configured via a ScriptableObject, that path differently based on Agent Configuration
  8. Enemies and Player attack the other when they near each other, until dead.
  9. Ranged Attacking Enemies
  10. Configurable Homing Bullet Mechanics for Ranged Enemies
  11. Improved ScriptableObject Configurations
  12. Flying Enemies
  13. State Machine AI with 3 options - idle, patrol, chase, including line of sight checking

Requirements

  • Requires Unity 2019.4 LTS or higher.
  • Utilizes the Navmesh Components from Unity's Github.