Unity | How to make a simple AI Navigation System - 2023

13,954
0
Published 2023-11-22
🎮 In this video, we'll walk you through the step-by-step process of creating a simple AI Navigation System using NavMesh in Unity.

#unity #tutorial #prototype #unitytutorial #gamedev #gamedevelopment #ai #navmesh

NavMesh Components GitHub : github.com/Unity-Technologies/NavMeshComponents
Agent Link Mover Script : github.com/Unity-Technologies/NavMeshComponents/bl…

Socials:

Instagram: www.instagram.com/darkwing.studio/
TikTok: www.tiktok.com/@darkwingstudio
Patreon: patreon.com/DarkWingStudio


Check out our little horror game:

Itch.io: heatdev.itch.io/whispers-from-the-past

0:00 Intro
1:28 NavMesh Surface
2:29 NavMesh Agent
5:20 NavMesh Obstacle
5:41 OffMesh Links
6:50 Enemy
8:18 Outro

Subscribe, like, and hit that notification bell to stay in the loop on more game dev tutorials

All Comments (13)
  • @MrRikunaru
    Nicely quick compact and still extensive! Very well done - thanks for this! Perfect for my next prototype :D
  • @PierreHaou
    best tutorial ive seen on ai nav in unity, well done sir 🙏
  • Really great job. Clear, and powerful. You also introduced navmesh offlinks, which is something I’m trying to code to my ai characters (jump). All in all, keep these coming. Wishing you all the best. Liked and subd
  • @juleswombat5309
    Awesome. I would like to know a little more on how to implement Nav paths, that represent AI Agents using going up and down lifts/elevators. I guess the Links method would work. But I would have to intercept the Agent, entering into the lift, stop the Agent, Animate the Lift an Agent as lift Manoeuvre, then enbable the Nav Agent again.
  • @trix_dev6088
    PLEASE MAKE SURE YOUR GIZMOS ARE ON!!!! If when baking your nav mesh the blue overlay doesn't show up, that's likely why
  • @risingforce9648
    I do not know how to deal tdamage betwenn 2 entitites when I use this navmesh, any idea? my entity use tod have childs inside the parents, and only the parents have the navemshh and the colliders.
  • @ecenjoyer
    cool but what about dynamic obstacles that are moving? how can you bake the surface then dynamically all the time the object moves