Opened 8 years ago

Closed 5 years ago

#3820 closed defect (fixed)

Endless and erratic UnitMotion when all nearest point around a target are occupied

Reported by: mimo Owned by: wraitii
Priority: Should Have Milestone: Alpha 24
Component: Core engine Keywords:
Cc: Patch:

Description

When all the spots around a target are occupied, the remaining units try endlessly to come in range of the target although they can't. See for exemple the commands.txt attached. The criteria to stop the motion should be improved.

Attachments (1)

commands.txt (5.2 KB ) - added by mimo 8 years ago.

Download all attachments as: .zip

Change History (3)

by mimo, 8 years ago

Attachment: commands.txt added

comment:1 by wraitii, 5 years ago

Milestone: BacklogAlpha 24
Owner: set to wraitii

Assigning to myself - I think this is fixable by making sure the new path takes us at least strictly closer to the target than our current position, otherwise rejecting the path change.

comment:2 by wraitii, 5 years ago

Resolution: fixed
Status: newclosed

I believe this is fixed as best as can be right now. Can still happen occasionally when two units are moving against one another or related complicated situations.

Note: See TracTickets for help on using tickets.