Game Development Reference
In-Depth Information
Query results
Pathfinding results are returned as a table of points to the caller. If no path is found, an
empty table is returned in order to signify no possible path exists:
local path = Sandbox.FindPath(
sandbox, "default", agent:GetPosition(), endPoint);
The following is the result of running the preceding code:
Search WWH ::




Custom Search