tweak: lowered running fov
This commit is contained in:
parent
efff355479
commit
569ac1f712
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue