Returns best path to target
mp_grid_path(start, goal, allowDiag)
Vector2
bool
Returns: void
void
This function will store the closest and fastest path from the start to the goal, Simplex engine have powerful pathfinding logic.
GamePath p = mp_grid_path(new Vector2(96, 96), new Vector2(512, 512), false);
Find and save closes and fastest path to Gamepath p.
Gamepath p
Back to Motion Planning
There was an error while loading. Please reload this page.