chore: look input is multiplied by fov factor
This commit is contained in:
parent
d31eda3752
commit
f5ca4894c4
1 changed files with 1 additions and 0 deletions
|
|
@ -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, {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue