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

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