Make Your NavMeshAgents Smarter by Surrounding Their Target | AI Series Part 27 | Unity Tutorial
Learn how to make your NavMeshAgents SURROUND their target, instead of just running to the center point of their target. In this tutorial we’ll be implementing a simple solution to the “dumb AI“ problem where your NavMeshAgents get bunched up and create a funnel or wedge when trying to follow a target.
We’ll implement a simple AI Manager singleton that will set the destination of NavMeshAgents to specific points around the player at a defined radius. We’ll learn a little bit of math about how the Unit Circle and (Sine) and (Cosine) trigonometric functions can help us solve this problem without a bunch of raycasting or list manipulation.
As always, all code from this video is available on GitHub:
----
Believe in LlamAcademy’s mission and have received value from the videos? Consider becoming a Patreon supporter:
----
Most tutorials come from kn
18 views
146
34
1 month ago 00:12:05 1
ZenBusiness Review 2024: What Makes It Stand Out?
1 month ago 00:20:33 1
Movie “Wicked” Sign of the End Time
1 month ago 00:03:04 1
Bach, Organ Sonata No. 4 in E minor (BWV 528) 3. Un poco Allegro.
1 month ago 00:00:32 1
…but the people are retarded
1 month ago 00:02:36 5
Jingle Bells | Christmas Song | Super Simple Songs
1 month ago 00:03:02 1
Milk & Cookies | Holiday Song for Kids | Rhymington Square
1 month ago 00:02:36 1
Five Little Elves | Christmas Song For Kids | Super Simple Songs
1 month ago 00:12:48 1
The Brand New STIHL MS400.1! WHY is this CHAINSAW different?
1 month ago 00:08:10 1
AI Agents Will Create MILLIONAIRES in 2025 – Are You Ready
1 month ago 00:04:49 1
Play To Earn🔥This New Play to Earn Game is About to Make a Lot of People RICH
1 month ago 00:03:02 1
SPX Options Trading : Strategies for Big Gains!
1 month ago 00:00:35 1
This Takodachi Bites Ina
1 month ago 00:08:50 1
Just Dance 2025 Edition - The Making Of
1 month ago 00:03:31 1
The Hobbies Song for Kids | What Do You Like to Do? | Fun Kids English
1 month ago 00:11:11 1
Archangels Healing Your Aura @432Hz In Just 11 Minutes With Delta Waves
1 month ago 00:02:50 1
We Are Number One but it contains spoilers from Madoka Magica Concept Movie (and Rebellion)
1 month ago 00:04:14 1
The Hunter - Bloodborne (4K UHD 2024)
1 month ago 00:26:26 1
LEGO Horizon Adventures PS5 Pro Gameplay - Thunderjaw Boss Fight