Skip to content

NavGridAgent Pathfinding

These actions drive a NavGridAgent using A* pathfinding.

Use this page for workflow context. For action parameters and behavior details, use the action reference pages below.

Which Action To Use

Goal Action Why
Keep following a moving Transform target NavGridAgent Set Target Assigns/updates the agent target; movement continues based on agent settings.
Issue a one-off move to a Transform and continue FSM after arrival NavGridAgent Move To Target Combines destination assignment with arrival callback flow.
Issue a one-off move to a world position and continue FSM after arrival NavGridAgent Move To Position Best for click-to-move, waypoints, and scripted positions.

Action Reference

Typical Usage

  1. Configure NavGridAgent movement/path settings.
  2. Choose a pathfinding action based on whether your destination is a transform or a world position.
  3. Handle arrival in your FSM using events or follow-up states.