diff --git a/src/action/components.rs b/src/action/components.rs index bb68eec..77083f0 100644 --- a/src/action/components.rs +++ b/src/action/components.rs @@ -36,7 +36,7 @@ pub struct MovementSettings { impl Default for MovementSettings { fn default() -> Self { Self { - accel: 20.0, + accel: 2000.0, gravity: 9.8, } } diff --git a/src/action/mod.rs b/src/action/mod.rs index 763ecd4..4777974 100644 --- a/src/action/mod.rs +++ b/src/action/mod.rs @@ -32,7 +32,7 @@ impl Plugin for CyberActionPlugin { .insert_resource(SubstepCount(12)) .add_systems( FixedUpdate, - (set_gravity, calculate_lean, apply_lean).chain(), + (set_gravity, calculate_lean, apply_lean, apply_inputs).chain(), ); } } diff --git a/src/action/systems.rs b/src/action/systems.rs index d382bfe..e9f2937 100644 --- a/src/action/systems.rs +++ b/src/action/systems.rs @@ -111,35 +111,23 @@ pub(super) fn apply_inputs( settings: Res, input: Res, time: Res