Skip to content

NavGridAgent

NavGridAgent actions control the NavGridAgent component for pathfinding, steering, manual movement, and runtime configuration.

For system setup and concepts, see the NavGrid Guide and NavGrid Agent Guide.

Quick Start

  • Move to a moving transform target: start with Set Target.
  • Run a one-off move and continue on arrival: use Move To Target or Move To Position.
  • Run reactive chase/flee without full path solve: use steering actions.
  • Drive movement directly from input or AI step logic: use manual movement actions.
  • Change speed/path settings at runtime: use settings actions.

Pathfinding

Set Target

Set and track a moving transform target.

Move To Target

Run a path move to a target transform.

Move To Position

Run a path move to a world position.

Steering

Steer Towards Target

Steer toward a transform target.

Steer Towards Position

Steer toward a world position.

Steer Away From Target

Steer away from a transform target.

Steer Away From Position

Steer away from a world position.

Manual Movement

Set Direction

Set manual movement direction.

Get Direction

Read current movement direction.

On Arrived

Send an event when the agent arrives.

Teleport

Teleport the agent to a position immediately.

Stop

Stop current movement.

Settings

Set NavGrid

Assign the NavGrid used by the agent.

Set Settings

Apply runtime movement/path settings.

Set Speed

Set runtime movement speed.

Get Speed

Read the current movement speed.