Enumeration NoPathFoundStrategy

Different strategies that determine the behavior of pathfinding if no path could be found.

Enumeration Members

Enumeration Members

CLOSEST_REACHABLE: "CLOSEST_REACHABLE"

Look for the closest point (manhattan distance) to the target position that is reachable.

RETRY: "RETRY"

Tries again after noPathFoundRetryBackoffMs milliseconds until the maximum amount of retries (noPathFoundMaxRetries) has been reached. By default, noPathFoundMaxRetries is -1, which means that there is no maximum number of retries and it will try again possibly "forever".

STOP: "STOP"

Simply stops pathfinding if no path could be found.

Generated using TypeDoc