Search Unity

  1. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

NavMeshQuery.GetPathResult

Discussion in 'AI & Navigation Previews' started by grimjim, Mar 29, 2018.

  1. grimjim

    grimjim

    Joined:
    Jan 18, 2014
    Posts:
    17
    Hey im trying to calculate paths with the new job system. What i want to achieve is to calculate the paths in other threads and then use the resulting paths in NavMeshAgents.
    But how do i get the result of a NavMeshQuery (NativeSlice<PolygonID> path) into a path that a NavMeshAgent can work with ?
     
  2. zulfajuniadi

    zulfajuniadi

    Joined:
    Nov 18, 2017
    Posts:
    117