Refactor controls (#14)

* Move controls

* Use system sets

* Use control states for controller

* Unite controls

* move collisions part

* Right deadzone as well

* Remove comment
This commit is contained in:
GitGhillie
2025-03-22 20:32:09 +01:00
committed by GitHub
parent e21efb9bdb
commit f6b640d06c
8 changed files with 555 additions and 582 deletions

View File

@@ -1,7 +1,7 @@
use avian3d::prelude::*;
use bevy::prelude::*;
use crate::{controller::PlayerMovement, controls::Controls, physics_layers::GameLayer};
use crate::{control::Controls, control::controller::PlayerMovement, physics_layers::GameLayer};
#[derive(Component, Reflect, Debug)]
pub struct CameraTarget;