Find when a NavMeshLink will be Taken | AI Series 43 | Unity Tutorial @LlamAcademy
Find when a NavMeshLink will be Taken | AI Series 43 | Unity Tutorial  @LlamAcademy
Uploaded October 2022 | Updated September 2026, 1 hour ago
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 usual with the AI Series, we're using the NavMesh Components: docs.unity3d.com/Manual/NavMesh-BuildingComponents.html not the built-in navigation system.

๐Ÿ”ถ ALL THINGS LlamAcademy now available at: https://llamacademy.dev/support including latest tutorials, courses, ways to support, and more! Check it out ๐Ÿ™‚
๐Ÿ‘จโ€๐Ÿ’ป Get the FULL FREE PROJECT on GitHub: github.com/llamacademy/ai-series-part-43
๐Ÿท๏ธSave 25% on the ultimate C# IDE: JetBrains Rider with code LLAMACADEMY: jetbrains.com/store/?section=personal&billing=yearly

Some links may be affiliate links, which at no additional cost to you, gives me a small portion of the purchase.

Chapters:
00:00 Topic Introduction
00:53 Solution Summary
01:13 Scene & Component Overview
02:12 How to Check for OffMeshLinks
02:58 Why it works!
03:42 Become a Supporter!
04:10 Rendering the Line & Demo
04:35 Final Thoughts & Bonus!
Find when a NavMeshLink will be Taken | AI Series 43 | Unity TutorialDynamic Modifier System for Guns to Support Attachments | Gun Series 8 | Unity Tutorial #shortsWho, me? 2022 CompilationRagdolls - Creation, Transitioning to, and Optimization | Unity Tutorial #ShortsHow to make a Flamethrower in Unity | Unity TutorialRagdolls - Creation, Transitioning to, and Optimization | Unity TutorialDynamic Modifier System for Guns to Support Attachments | Gun Series 8 | Unity TutorialShow Animated 3D Models on the UI | Unity Tutorial #shortsShow Any Projectiles Trajectory in Unity with Simple Math & a Line Renderer #shortsHow to Make (and USE) Templates in Modern UI ToolkitDeal Damage to Enemies and Objects with Guns! Gun Series 3 | Unity Tutorial #shortsAnimation-driven Reloading | Gun Series 4 | Unity Tutorial
LlamAcademy |

Find when a NavMeshLink will be Taken | AI Series 43 | Unity Tutorial

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER