Function elementalist::player::movement::player_movement_controls
source · pub fn player_movement_controls(
query: Query<'_, '_, &mut KinematicCharacterController, With<Player>>,
action_query: Query<'_, '_, &ActionState<PlayerAction>, With<Player>>,
stat_query: Query<'_, '_, &StatBundle, With<Player>>,
sprite_state_next: ResMut<'_, NextState<PlayerAnimation>>,
player_facing_next: ResMut<'_, NextState<PlayerFacing>>
)
Expand description
Handle player input for movement