Search Unity

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:
    275
  2. mistergreen2016

    mistergreen2016

    Joined:
    Dec 4, 2016
    Posts:
    87
    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.