chore: look input is multiplied by fov factor

This commit is contained in:
Sara Gerretsen 2026-02-12 22:01:28 +01:00
parent d31eda3752
commit f5ca4894c4

View file

@ -7,6 +7,7 @@ void PlayerCamera::_bind_methods() {
}
void PlayerCamera::on_look_input(Vector2 input) {
input *= this->fov_factor;
// PI / 2.1 to avoid change to the flattened forward vector
static const double LOOK_LIM{ Math::PI / 2.1 };
GETSET(rotation, {