NavMeshQuery allows you to use navigation meshes with DOTS, even though NavMeshAgents are not supported. I will show you how to use NavMeshQuery to calculate the path for the enemies, and also how to make them move towards the player. In the next part, we will also make the pathfinding multithreaded for maximum performance.
CODE - https://github.com/Freedom-Coding/Uni...
PathUtils - https://github.com/Unity-Technologies...
Forging Station Tutorial - • Dynamic Obstacle Avoidance with Nav M...
👍 Like and 🔔Subscribe for More Unity and C# Tutorials / @freedomcoding
🌟 Support My Work and Unlock Exclusive Content! 🌟
👉 Patreon: / freedomcoding
🎮 Join Our Developer Community!
💬 Discord: / discord
💖 Support Me Financially
☕ PayPal: jani.steckerova@seznam.cz
Are you looking for a Unity/C# tutor? Contact me here - marek.freedom.coding@gmail.com
Website - https://www.freedom-coding.com
Timestamps:
00:00 Why To Use NavMeshQuery?
00:16 Scene & NavMesh Setup
01:20 Required Packages
01:50 NavAgent Component
03:11 NavAgent Authoring
04:33 Pathfinding System
06:52 Calculating Path
11:39 Moving NavAgents
13:14 Final Result!
In questa pagina del sito puoi guardare il video online Unity DOTS NavMeshQuery - Pathfinding della durata di ore minuti seconda in buona qualità , che l'utente ha caricato Freedom Coding 25 dicembre 2023, condividi il link con amici e conoscenti, su youtube questo video è già stato visto 3,818 volte e gli è piaciuto 119 spettatori. Buona visione!