Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    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:
    452
  2. mistergreen2016

    mistergreen2016

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