Implement grounded fighter pushing #85
+1
-4
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user