navmesh_find_path
Find an A* path between two 2D points on a loaded navmesh, returning ordered waypoints or an empty array when no route exists.
Instructions
Find an A* path between two 2D points on a loaded navmesh. Returns an ordered array of waypoints or an empty array if no path exists.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | ||
| from | Yes | ||
| mapId | Yes | NavMesh asset identifier |