use bevy::{prelude::*, window::CursorGrabMode}; use bevy_rapier3d::prelude::*; use crate::logic::core::player::player_movement::{ move_player, PlayerLinearXZState, PlayerLinearYState, PlayerMovementInput, }; use super::markers::player::Player; /// System that captures input and fires events pub fn capture_input( keyboard_input: Res>, player_query: Query< ( &mut Velocity, &mut ExternalImpulse, &mut PlayerLinearYState, &mut PlayerLinearXZState, &Transform, &mut Damping, ), With, >, time: Res