Skip to content

NavGrid

NavGrid actions help you build, query, and move on 2D grid-based navigation data.

For setup workflows and concepts, see the Guide.

Build and Prepare

Build From Tilemaps

Build a NavGrid from Tilemap data.

Apply Tile Costs

Apply per-tile traversal costs.

Apply Tile Cost Profile

Apply a reusable tile cost profile.

Prune Unreachable

Remove cells that cannot be reached.

Pathfinding

Find Path

Calculate a path across the grid.

Smooth Path

Simplify and smooth path points.

Movement

Move

Move along a NavGrid direction or step.

Follow Path

Follow a precomputed path list.

Queries

Get Cell At World Position

Read a grid cell from a world-space point.

Get Cell At Transform Position

Read a grid cell from a transform position.