Search Unity

  1. Unity 2019.2 is now released.
    Dismiss Notice

Agent randomly jump to nearby location when enable

Discussion in 'Navigation' started by Xhitman, Jul 12, 2019.

  1. Xhitman

    Xhitman

    Joined:
    Oct 30, 2015
    Posts:
    296
  2. mistergreen2016

    mistergreen2016

    Joined:
    Dec 4, 2016
    Posts:
    120
    So you disable and enable whenever? It might 'jump' sometime onto a different nearby navmesh. Try to store the agent's position and physically set the transform.position.