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

1774 Unit gets stuck between buildings

Open
#848 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
679
Forks
290
Avg merge
3d 2h
Merged PRs (30d)
40

Description

![image](https://github.com/beyond-all-reason/spring/assets/1318249/e1ce221b-b0e9-4028-ba1c-1e1476f5e5aa)
![image](https://github.com/beyond-all-reason/spring/assets/1318249/6e0719c0-ff31-472e-b431-fbe93111b2b2)

In this replay around the top right of the map. https://zero-k.info/Battles/Detail/1649296

The unit doesn't path to walk into the buildings, it just doesn't have the space to turn around so it rams the buildings while turning. The expected behaviour is that the unit rams the buildings and slides along them as it turns to go in the direction required to move around them. The bug is that the unit becomes stuck.

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the stuck unit in the linked replay near the top-right of the map, then trace the unit movement and collision/pathing behavior involved in turning between buildings. Done means the unit can turn around the buildings by sliding along them instead of remaining stuck.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
game-dev
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.