Implement grounded fighter pushing #85

Merged
EIREXE merged 4 commits from feature/grounded-fighter-pushing into master 2026-10-07 07:29:02 +00:00
Showing only changes of commit d3bb1de0f0 - Show all commits
+1 -4
View File
@@ -1,4 +1,4 @@
//! Deterministic grounded fighter-to-fighter pushing.
//! fighter-to-fighter pushing
use bevy::prelude::*;
@@ -45,9 +45,6 @@ fn push_delta(first: Pushbox, second: Pushbox, nudge: FGi32) -> FGi32 {
(first.center - second.center).signum() * nudge
}
/// Applies all pair contributions from a position snapshot simultaneously.
/// The pair loop intentionally visits every direction: each fighter gets its
/// own nudge, just as in Melee.
fn calculate_push_deltas(
pushboxes: &[Option<Pushbox>],
stage: &StageCollision,