Implement grounded fighter pushing (#85)
Reviewed-on: #85 Co-authored-by: Álex Román Núñez <eirexe@eirteam.moe>
This commit was merged in pull request #85.
This commit is contained in:
@@ -17,6 +17,7 @@ pub mod errors;
|
||||
pub mod hurtbox;
|
||||
pub mod manifest;
|
||||
pub mod motion;
|
||||
pub mod push;
|
||||
pub mod state;
|
||||
pub mod surface;
|
||||
pub mod visual;
|
||||
@@ -198,6 +199,12 @@ impl Plugin for FighterPlugin {
|
||||
.chain()
|
||||
.in_set(GameplaySet::Collision),
|
||||
)
|
||||
.add_systems(
|
||||
GgrsSchedule,
|
||||
push::apply_grounded_pushes
|
||||
.before(state::state_update_system)
|
||||
.in_set(GameplaySet::StateUpdate),
|
||||
)
|
||||
.add_systems(
|
||||
PostUpdate,
|
||||
(
|
||||
|
||||
Reference in New Issue
Block a user