Skip to content

Project for the AI Series Part 15 tutorial where we spawn NavMeshAgents at runtime on a Procedurally baked NavMesh that is baked only around the player in a large or procedurally generated world.

License

Notifications You must be signed in to change notification settings

llamacademy/ai-series-part-15

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Navmesh AI Tutorial 15 - Spawning Enemies on a Procedural NavMesh - NavMesh Generation at Runtime Part 3

The below video is the tutorial that ENDS where this project is. In the tutorial I review how to construct pieces of level so feel free to follow along with this project.

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.

Gold Tier Supporters

  • YOUR NAME HERE!

Silver Tier Supporters

  • YOUR NAME HERE!

Bronze Tier Supporters

  • Bastian
  • YOUR NAME HERE!

In this project we have 3 Scenes:

SampleScene:

  1. Simple click to move. AI Series Part 1
  2. An enemy that follows the player - AI Series Part 1
  3. NavMeshLinks to allow the player and enemy to jump from one platform to another, and on top of some walls. - AI Series Part 2
  4. AgentLinkMover to control how NavMeshAgents will traverse NavMeshLinks - AI Series Part 2
  5. Animated 3D Model based on NavMeshAgent's movement - AI Series Part 3
  6. Dynamically spawned enemies at random points on the NavMesh - AI Series Part 4
  7. 4 Enemy types, configured via a ScriptableObject, that path differently based on Agent Configuration - AI Series Part 5
  8. Enemies and Player attack the other when they near each other, until dead. - AI Series Part 6
  9. Ranged Attacking Enemies - AI Series Part 7 and Part 8
  10. Configurable Homing Bullet Mechanics for Ranged Enemies - AI Series Part 7 and Part 8
  11. Improved ScriptableObject Configurations - AI Series Part 9
  12. Flying Enemies - AI Series Part 10
  13. State Machine AI with 3 options - idle, patrol, chase, including line of sight checking - AI Series Part 11

Progressive NavMesh: - AI Series Part 13

  1. A procedurally generated world and NavMesh so it can be navigated by NavMeshAgents
  2. Enemies spawn as the player runs throughout the world, becoming disabled when they are too far away from the player.

Bake NavMesh in Bounds: - AI Series Part 14 and Part 15

  1. A Player-only scene baking a NavMesh around the player as they move
  2. Spawning enemies as the player moves throughout the large world

Requirements

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

About

Project for the AI Series Part 15 tutorial where we spawn NavMeshAgents at runtime on a Procedurally baked NavMesh that is baked only around the player in a large or procedurally generated world.

Topics

Resources

License

Stars

Watchers

Forks

Sponsor this project