We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c6d10e4 commit 1475d12Copy full SHA for 1475d12
addons/character-controller/example/main/player.gd
@@ -54,7 +54,7 @@ func _physics_process(delta):
54
func _input(event: InputEvent) -> void:
55
# Mouse look (only if the mouse is captured).
56
if event is InputEventMouseMotion and Input.get_mouse_mode() == Input.MOUSE_MODE_CAPTURED:
57
- rotate_head(event.relative)
+ rotate_head(event.screen_relative)
58
59
60
#func _on_controller_emerged():
0 commit comments