NavMesh Agent
A NavMesh Agent will move from position to position on the NavMesh, automatically. It features crowd control features, so they will try to avoid bumping into each other if possible.
A NavMesh Agent will move from position to position on the NavMesh, automatically. It features crowd control features, so they will try to avoid bumping into each other if possible.
Component

The NavMeshAgent is implemented as a component. When you add it to your GameObject it can take over control of the position and rotation.
You would usually create another component, for your main AI logic, which will set positions and animate a model based on its velocity. It's not unusual for this custom AI component to change the max speed and acceleration as it reaches goals etc.
Code
NavMeshAgent agent = ...
// Sets the target position for the agent. It will try to get there
// until you tell it to stop.
agent.MoveTo( targetPosition );
// Stop trying to get to the target position.
agent.Stop();
// The agent's actual velocity
var velocity = agent.Velocity;
Referenced API
Canonical API pages mentioned in this guide.
An agent that can navigate the navmesh defined in the scene.
No summary available.
No summary available.
The target map node this MapInstance references to copy.
The current entity we're rendering gizmos for
No summary available.
The receiving node's input.
No summary available.