Skip to content

Project used in the AI Series Part 14.5 Unity Tutorial where I show how to approach optimizing code, using our runtime navmesh generation as the optimization target

License

Notifications You must be signed in to change notification settings

zhaoguohao/ai-series-part-14.5

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Navmesh AI Tutorial 14.5 - Optimizing Runtime NavMesh Generation

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, AI Series Part 14.5, 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 used in the AI Series Part 14.5 Unity Tutorial where I show how to approach optimizing code, using our runtime navmesh generation as the optimization target

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C# 50.3%
  • ShaderLab 44.3%
  • HLSL 5.4%