Skip to content

In this tutorial repository and accompanying video you will learn how to make your NavMeshAgents break down obstacles that block their path. The agents will consider if a particular path is worth going through by breaking down the obstructions or if pathing around them is more worthwhile.

License

llamacademy/ai-series-part-37

Repository files navigation

Navmesh AI Tutorial 37 - NavMeshAgents Avoiding and Breaking Obstructions

In this tutorial repository and accompanying video you will learn how to make your NavMeshAgents break down obstacles that block their path. The agents will consider if a particular path is worth going through by breaking down the obstructions or if pathing around them is more worthwhile.

This is done through some trickery on the NavMesh and a State Machine on the Enemy.

This is a more advanced tutorial that expects you are already familiar with some other concepts. See the below links for more in-depth explanations of those topics:

  1. Enemy State Machine Behavior
  2. Baking NavMesh at Runtime
  3. Optmizing NavMesh Baking at Runtime

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.

Phenomenal Supporter Tier

  • YOUR NAME HERE!

Tremendous Supporter Tier

  • YOUR NAME HERE!

Awesome Supporter Tier

  • Raphael
  • Andrew Bowen
  • Gerald Anderson
  • AudemKay
  • Paul Berry
  • Matt Parkin
  • YOUR NAME HERE!

Supporters

  • Bastian
  • Trey Briggs
  • YOUR NAME HERE!

Other Projects

Interested in other AI Topics in Unity, or other tutorials on Unity in general?

Requirements

  • Requires Unity 2019.4 LTS or higher.
  • Utilizes the Navmesh Components from Unity's Github.
  • After you open this project, make sure to import the Unity Particle Pack so it will have the destruction particle system!

About

In this tutorial repository and accompanying video you will learn how to make your NavMeshAgents break down obstacles that block their path. The agents will consider if a particular path is worth going through by breaking down the obstructions or if pathing around them is more worthwhile.

Topics

Resources

License

Stars

Watchers

Forks

Sponsor this project