Api > NavMeshAgent > CompleteOffMeshLink()
NavMeshAgent.CompleteOffMeshLink()⚓︎
Completes the movement on the current OffMeshLink.
Usage⚓︎
---@type NavMeshAgent
local navmeshagent;
navmeshagent.CompleteOffMeshLink()
Extra Detail⚓︎
The agent will move to the closest valid navmesh position on the other end of the current OffMeshLink.
CompleteOffMeshLink has no effect unless the agent is on an OffMeshLink