NavMeshAgent.SetPath

function SetPath (path : NavMeshPath) : boolean

Parameters

NameDescription
path New path to follow.

Returns

boolean - True if the path is succesfully assigned.

Description

Assign path to this agent.

Notes: If succesfully assigned this agent will resume movement. If the path cannot be assigned this agent will have its path cleared (see ResetPath).