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

Smoother piece attachment visuals (and even physical locations?)

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

Description

![Moving_storage](https://github.com/user-attachments/assets/b437b48e-1001-42d4-85b4-cd7744664b83)

The units in that gif are carrying structures via Spring.AttachUnit. They visibly lag quite a distance behind the underlying pieces, as the arms of the units move left and right as they walk. It would be a great improvement for modular unit games, or things such as big ship with constructable hardpoints, if units were a bit better at updating their position to the underlying pieces. I'm aware that things like frame interpolation are likely to make the problem not entirely solvable, but perhaps there is something cheap to try that would still be a noticeable improvement.

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the attached GIF behavior with Spring.AttachUnit and trace how attached units update their positions relative to underlying pieces. The payload names no source file or test, so locating the relevant attachment and animation update paths is part of the investigation. Done means a noticeable reduction in visible lag, with the result checked against the reported modular-unit scenario.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
computer-graphics, game-dev
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.