How You Can Find the OffMeshLinks a NavMeshAgent Will Take | AI Series 43 | Unity Tutorial #Shorts @LlamAcademy
How You Can Find the OffMeshLinks a NavMeshAgent Will Take | AI Series 43 | Unity Tutorial #Shorts  @LlamAcademy
Uploaded October 2022 | Updated September 2026, 2 hours ago
Full Tutorial: youtu.be/PzUsjEB2cQ4

In this short tutorial you'll learn how to find the OffMeshLinks (high level component: NavMeshLink) that a NavMeshAgent will take on their current path.
Unfortunately, Unity does not provide a way to query the NavMesh for OffMeshLinks, so it's not possible to find ALL OffMeshLinks (unless you have all OffMeshLinks as NavMeshLinks and do something like FindObjectsOfType๓ €ผ๓ €ผ NavMeshLink()).

Using this method, regardless if you're using a NavMeshLink or OffMeshLink, you can find the exact points that a NavMeshAgent will traverse an OffMeshLink between!

As always, all code from this video is available on GitHub: github.com/llamacademy/ai-series-part-43

As usual with the AI Series, we're using the NavMesh Components: docs.unity3d.com/Manual/NavMesh-BuildingComponents.html not the built-in navigation system.

๐Ÿ“ฑ Let's stay connected
YouTube: youtube.com/c/LlamAcademy
Patreon: patreon.com/llamacademy
Facebook: facebook.com/LlamAcademyOfficial
Twitter: twitter.com/TheLlamAcademy
TikTok: tiktok.com/@LlamAcademy
Instagram: instagram.com/LlamAcademy

----

Believe in LlamAcademy's mission and have received value from the videos? Consider becoming a Patreon supporter: patreon.com/llamacademy

----
Most tutorials come from knowledge gained making https://survival.llama.software Llama Survival - a top-down zombie survival shooter for Android and iOS.
I also have some Unity Assets: assetstore.unity.com/publishers/22409?_aid=1101l9QvC
Some links may be affiliate links, which at no additional cost to you, gives me a small portion of the purchase.

#unitytutorial #tutorialtuesday #gamedev #tutorial #unity #llamacademy #gamedevelopment #ai #navmesh
How You Can Find the OffMeshLinks a NavMeshAgent Will Take | AI Series 43 | Unity Tutorial #ShortsAssembly Definitions, Explained | Unity TutorialCreate Cross-Platform IAP Store Page with Unity IAP in 2023 | Unity Tutorial #shortsAnimate Your NavMeshAgents with Root Motion | AI Series Part 42 | Unity Tutorial #ShortsNamespaces in C# by Unity Example | Beginner Unity TutorialOpaque Objects Making It Hard to See? Fade Them Out with the Standard URP Shaders #shortsEvery Physics Overlap Visualized | Unity TutorialJust another day using VSCode to build Unity games...Inheritance and Interfaces for Beginners | Unity C# Basics 6 | Unity TutorialProcedural Mesh & Animation with the Official Unity Spline Package | Unity TutorialRoot Motion NavMeshAgent Animation | AI Series Part 42 | Unity TutorialAnimated 3D Models on the UI with URP | Unity Tutorial
LlamAcademy |

How You Can Find the OffMeshLinks a NavMeshAgent Will Take | AI Series 43 | Unity Tutorial #Shorts

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER