Better Enemy Chasing with Intercept Courses | AI Series 44




Published: 21 Feb 2023

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!


🔶 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: https://github.com/llamacademy/ai-series-part-44

🏷️Save 25% on the ultimate C# IDE: JetBrains Rider with code LLAMACADEMY: https://www.jetbrains.com/store/?section=personal&billing=yearly


📚 Resources:

🟠 Hit Moving Targets with Projectiles: https://youtu.be/6YsamZNNwpQ

🟠 Doom GDC Talk: https://www.youtube.com/watch?v=3lO1q8mQrrg


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


Connect on Social Media

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