Search Unity

  1. Unity Asset Manager is now available in public beta. Try it out now and join the conversation here in the forums.
    Dismiss Notice

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