Enumeration PathBlockedStrategy

Determines what happens if a previously calculated path is suddenly blocked. This can happen if a path existed and while the character was moving along that path, it got suddenly blocked.

Enumeration Members

Enumeration Members

RETRY: "RETRY"

Makes the character look for a new path. You can provide a custom backoff time in milliseconds: MoveToConfig.pathBlockedRetryBackoffMs. You can also specify a maximum number of retries using MoveToConfig.pathBlockedMaxRetries.

STOP: "STOP"

Makes the character stop the movement.

WAIT: "WAIT"

Makes the character wait (forever or until given MoveToConfig.pathBlockedWaitTimeoutMs) until the path will be free again.