beyond-all-reason / beyond-all-reason/RecoilEngine
Incorrect drawing of yardmap overlap for rotated blueprints
- Dominant language
- C++
- Stars
- 679
- Forks
- 290
- Avg merge
- 3d 1h
- Merged PRs (30d)
- 38
Description
Happens also on top of buildings being built. When trying to place another blueprint with the same unit who already has other blueprints placed.
I changed a solar's yardmap so it wouldn't be symmetrical, to test rotation:


Actual check seems to work fine (with https://github.com/beyond-all-reason/spring/pull/2170 applied), but drawing the overlap not so much.
- When rotating over a blueprint, or unit being built the rotation doesn't get reflected at all.
In this video I'm rotating the solar with edited yardmap, but doesn't get reflected:

- Trying to build in a place where another unit was recently self destructed also did show some blocked space but then I could build (happened once but then couldn't reproduce, no idea :P):

Contributor guide
Research direction
The report provides no files, tests, or entry points. Reproduce rotated blueprint placement over existing and building units, including the edited asymmetric solar yardmap, then compare the drawn overlap with the actual placement check; done means the displayed blocked area follows rotation and matches the check.
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
- 38/100