Better Enemy Chasing with Intercept Courses | AI Series 44 #shorts
Published: 23 Feb 2023
Full Tutorial: https://youtu.be/1Jkg8cKLsC0
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!
💸 Ongoing sales 💸
⚫ See all active asset sales on the Asset Store: https://assetstore.unity.com/?on_sale=true&orderBy=0&rows=96&clickref=1100lwtudvMJ&utm_source=partnerize&utm_medium=affiliate&utm_campaign=unity_affiliate&aid=1101l9QvC
⚫ Save 25% off your first Asset Store Order: https://prf.hn/click/camref:1101l9QvC/creativeref:1011l78340
⚫ Save up to 50% on NEW Assets: https://assetstore.unity.com/?new_sale=true&orderBy=1&aid=1101l9QvC
👨💻 As always, all code from this video is available on GitHub: https://github.com/llamacademy/ai-series-part-44
📚 Resources:
⚫ Hit Moving Targets with Projectiles: https://youtu.be/6YsamZNNwpQ
⚫ Doom GDC Talk: https://www.youtube.com/watch?v=3lO1q8mQrrg
❤ Believe in LlamAcademy's mission and have received value from the videos? Become a Patreon Supporter or YouTube Member:
⚫ Patreon: https://www.patreon.com/llamacademy
⚫ YouTube Member: https://www.youtube.com/channel/UCnWm6pMD38R1E2vCAByGb6w/join or click the Join button on any video
📱 Let's stay connected
YouTube: https://youtube.com/c/LlamAcademy
Patreon: https://www.patreon.com/llamacademy
Facebook: https://facebook.com/LlamAcademyOfficial
Twitter: https://twitter.com/TheLlamAcademy
TikTok: https://tiktok.com/@LlamAcademy
Instagram: https://instagram.com/LlamAcademy
----
Most tutorials come from knowledge gained making https://survival.llama.software Llama Survival - a top-down zombie survival shooter for Android and iOS.
I also have some Unity Assets: https://assetstore.unity.com/publishers/22409?_aid=1101l9QvC
Some links may be affiliate links, which at no additional cost to you, gives me a small portion of the purchase.