pub fn handle_sprint(
query: Query<'_, '_, &mut PhysicsState>,
events: EventReader<'_, '_, StartSprintEvent>,
)
Expand description
The system that makes the player start sprinting when they receive a
StartSprintEvent
.
pub fn handle_sprint(
query: Query<'_, '_, &mut PhysicsState>,
events: EventReader<'_, '_, StartSprintEvent>,
)
The system that makes the player start sprinting when they receive a
StartSprintEvent
.