diff --git a/addons/fpc/character.gd b/addons/fpc/character.gd index daebf32..22d4197 100644 --- a/addons/fpc/character.gd +++ b/addons/fpc/character.gd @@ -333,6 +333,7 @@ func _process(delta): Input.MOUSE_MODE_VISIBLE: Input.mouse_mode = Input.MOUSE_MODE_CAPTURED + HEAD.rotation.x = clamp(HEAD.rotation.x, deg_to_rad(-90), deg_to_rad(90)) # Uncomment if you want full controller support