Search Unity

  1. Unity 2019.2 is now released.
    Dismiss Notice

unity navmesh get remaining distance (infinity)

Discussion in 'Scripting' started by kumar123k, Jul 14, 2016.

  1. kumar123k

    kumar123k

    Joined:
    Jul 5, 2016
    Posts:
    25
    HI
    i am getting problem with navmesh i am trying to get remaining distance when i get distance some times it is showing infinite distance.
    how to get the distance , i have noticed that get reaming distance function calculate the nearest node instead of the final destination.

    can some one give the solution for this.
     
  2. Bechmann

    Bechmann

    Joined:
    Nov 5, 2017
    Posts:
    3