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)
Change History (3)
by , 8 years ago
Attachment: | commands.txt added |
---|
comment:1 by , 5 years ago
Milestone: | Backlog → Alpha 24 |
---|---|
Owner: | set to |
comment:2 by , 5 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
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.
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.