tweak: lowered running fov

This commit is contained in:
Sara 2025-08-12 13:41:17 +02:00
parent efff355479
commit 569ac1f712

View file

@ -30,7 +30,7 @@ void PlayerBody::on_child_entered(Node *node) {
} }
void PlayerBody::process(double delta) { void PlayerBody::process(double delta) {
float const target_fov{ get_is_running() ? 1.25f : 1.0f }; float const target_fov{ get_is_running() ? 1.1f : 1.0f };
fov = Math::move_toward(fov, target_fov, float(delta * 2.0)); fov = Math::move_toward(fov, target_fov, float(delta * 2.0));
this->camera->set_fov_factor(fov); this->camera->set_fov_factor(fov);
} }