This commit is contained in:
yuni 2024-03-18 03:06:41 +01:00
parent 9edc352086
commit a7ec9ae5a1

View file

@ -15,7 +15,7 @@ impl Plugin for CameraControllerPlugin {
/// Based on Valorant's default sensitivity, not entirely sure why it is exactly 1.0 / 180.0,
/// but I'm guessing it is a misunderstanding between degrees/radians and then sticking with
/// it because it felt nice.
pub const RADIANS_PER_DOT: f32 = 1.0 / 180.0 * 0.5;
pub const RADIANS_PER_DOT: f32 = 1.0 / 180.0;
#[derive(Component)]
pub struct CameraController {
@ -44,7 +44,7 @@ impl Default for CameraController {
Self {
enabled: true,
initialized: false,
sensitivity: 1.0,
sensitivity: 0.5,
key_forward: KeyCode::KeyW,
key_back: KeyCode::KeyS,
key_left: KeyCode::KeyA,