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!
On this page of the site you can watch the video online Unity DOTS NavMeshQuery - Pathfinding with a duration of hours minute second in good quality, which was uploaded by the user Freedom Coding 25 December 2023, share the link with friends and acquaintances, this video has already been watched 3,818 times on youtube and it was liked by 119 viewers. Enjoy your viewing!