Game icon indicating copy to clipboard operation
Game copied to clipboard

Move objects out of way if they happen to be inside an exclusion area

Open Indy2222 opened this issue 3 years ago • 2 comments

No player is permitted to build anything in a place occupied by units. However due to small delays of pathfinder updates (which is done asynchronously), an object might happen to be inside a static object.

In such a case, the object should move to the closest non-occupied point. If it is moving, new path should be found from the non-occupied point to the target and prepended by the objects current position.

This is related to #98.

Indy2222 avatar Jun 02 '22 16:06 Indy2222

Due to imprecise object movement, inertia and so on, an object may temporarily or permanently cross exclusion area by some small distance. If a new path is searched during during that moment, none is found and the object gets forever stuck.

Indy2222 avatar Jun 05 '22 17:06 Indy2222

There is no activity on the issue for some time. The issue will be automatically closed in 3 weeks.

github-actions[bot] avatar May 30 '24 14:05 github-actions[bot]