Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. The 2022.2 beta is now available for testing. To find out what's new, have a look at our 2022.2 feature highlights.
    Dismiss Notice
  3. We are updating our Terms of Service for all Unity subscription plans, effective October 13, 2022, to create a more streamlined, user-friendly set of terms. Please review them here: unity.com/legal/terms-of-service.
    Dismiss Notice
  4. Have a look at our Games Focus blog post series which will show what Unity is doing for all game developers – now, next year, and in the future.
    Dismiss Notice
  5. Join us on Thursday, September 29, for a day with Unity's SRP teams here on the forum or on Reddit, and discuss topics around URP, HDRP, and the Scriptable Render Pipeline in general.
    Dismiss Notice
Dismiss Notice
Submit bug reports tagged with #Beta2022Win_Unity when you encounter unknown issues while testing the 2022.2 betas for a chance to win a year of Unity Pro. For more information, have a look at our Beta Sweepstakes Announcement.

How use NavmeshObstacle in Dots NavMeshQuery?

Discussion in 'AI & Navigation Previews' started by xzp_xzp, Dec 7, 2020.

  1. xzp_xzp

    xzp_xzp

    Joined:
    Jun 4, 2019
    Posts:
    5
    I made a program to use NavMeshQuery. It can run multi-person wayfinding very well and very high performance. But I encountered difficulties when I wanted to dynamically find the path. I don't know how to use NavmeshObstacle in dots or how change navmesh data in runtime.
    https://github.com/xiezhipeng-git/NavMeshDOTS.git
    This is the link to my program. It can use MonoBehaviour for dynamic pathfinding. But the performance advantage of using MonoBehaviour is lost. Therefore, how do I dynamically use navmeshObstacle in dots? And how to use NavMeshSourceTag LocalNavMeshBuilder in dots?
     
    Last edited: Dec 8, 2020
unityunity