diff --git a/modules/wave_survival/player_input.cpp b/modules/wave_survival/player_input.cpp index 07c10888..4575c074 100644 --- a/modules/wave_survival/player_input.cpp +++ b/modules/wave_survival/player_input.cpp @@ -66,7 +66,7 @@ void PlayerInput::unhandled_input(Ref const &event) { } Ref mouse_motion{ event }; if (mouse_motion.is_valid()) { - Vector2 state{ -mouse_motion->get_relative() * 0.0005f }; + Vector2 state{ -mouse_motion->get_relative() * this->mouselook_speed }; emit_signal(sig_look_input, state); } if (event->is_action("primary_fire")) { diff --git a/modules/wave_survival/player_input.h b/modules/wave_survival/player_input.h index 83c11c9f..4d7a3309 100644 --- a/modules/wave_survival/player_input.h +++ b/modules/wave_survival/player_input.h @@ -24,6 +24,7 @@ public: private: bool was_paused{ false }; + float mouselook_speed{ 0.0025f }; }; #endif // !PLAYER_INPUT_H