beyond-all-reason / beyond-all-reason/RecoilEngine

Unit getting stuck while trying to push past a stationary unit

Open
#3,114 0 comments 0 reactions 1 assignee Claimed by @lostsquirrel1 View on GitHub
area: Pathfinding bug
Dominant language
C++
Stars
679
Forks
290
Avg merge
3d 2h
Merged PRs (30d)
40

Description

Unit getting stuck while trying to push past a stationary unit which is being pushed up against a building.

https://www.beyondallreason.info//replays?gameId=96e7556a594c2c34c282c9a3e92085d6

https://cdn.discordapp.com/attachments/1526610921177485372/1526611371855319250/image.png?ex=6a59a162&is=6a584fe2&hm=a183446371d0a46bbbaa3291e943ee5c7c0cf9d57cb26fb73d22a3e8d033ebb2&

Need to update unit pushing logic to be able to work around such situations. One aspect is the unit's centre isn't getting close enough to a waypoint to continue the path. We may need to be ready to re-trigger a new path sooner.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.