tweak: lowered mouse sensitivity

This commit is contained in:
Sara 2025-08-11 18:55:50 +02:00
parent 8567a274f1
commit 5bd8b88376

View file

@ -66,7 +66,7 @@ void PlayerInput::unhandled_input(Ref<InputEvent> const &event) {
} }
Ref<InputEventMouseMotion> mouse_motion{ event }; Ref<InputEventMouseMotion> mouse_motion{ event };
if (mouse_motion.is_valid()) { if (mouse_motion.is_valid()) {
Vector2 state{ -mouse_motion->get_relative() * 0.001f }; Vector2 state{ -mouse_motion->get_relative() * 0.0005f };
emit_signal(sig_look_input, state); emit_signal(sig_look_input, state);
} }
if (event->is_action("primary_fire")) { if (event->is_action("primary_fire")) {