Fix fighter visuals after landing snap (#67)
CI / build-and-test (push) Successful in 1m47s
CI / production-build (push) Successful in 11m8s

## Summary

- Mark landing position corrections as presentation discontinuities.
- Render and frame fighters from the current position for the snap frame.
- Keep previous translation history unchanged for gameplay collision and attack logic.

Reviewed-on: #67
Co-authored-by: Álex Román Núñez <eirexe@eirteam.moe>
This commit was merged in pull request #67.
This commit is contained in:
2026-09-26 15:54:25 +00:00
committed by EIREXE
parent 62aa598324
commit 94e292026e
6 changed files with 69 additions and 8 deletions
+1
View File
@@ -123,6 +123,7 @@ pub fn collision_interrupt(
ctx.ecb.left -= diff;
ctx.ecb.right -= diff;
ctx.translation.0 = res.hit_position;
ctx.presentation_snap.0 = true;
ctx.surface.land(res.line_id);
Some(FighterState::Land(LandingState::create(landing_type)))
}