In this tutorial repository and accompanying video you will learn how you can have NavMeshAgents calculate an intercept course to better chase the player. We'll use the historical velocity of the player, project it forward, and calculate a path to that location. Make sure to also check the agent isn't just running in front of the player by adding a Dot Product check!
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 the LlamAcademy Patreon Page or join as a YouTube Member to show your support.
- Andrew Bowen
- Andrew Allbright
- YOUR NAME HERE!
- Bruno Bozic
- YOUR NAME HERE!
- Gerald Anderson
- AudemKay
- Matt Parkin
- Ivan
- Reulan
- Iffy Obelus
- Paul Berry
- YOUR NAME HERE!
- Bastian
- Trey Briggs
- Matt Sponholz
- Dr Bash
- Tarik
- Sean
- ag10g
- Elijah Singer
- Vita Prochazka
- Lurking Ninja
- Josh Meyer
- Ewald Schulte
- Dom C
- YOUR NAME HERE!
Interested in other Topics in Unity?
- Requires Unity 2021.3 LTS or higher.
- Universal Render Pipeline