-
-
Notifications
You must be signed in to change notification settings - Fork 23.6k
Closed
Labels
Description
Godot version
3.4.4
System information
Win10, OpenGL3
Issue description
When the function is called, and I try rotate the Camera3D, the movement is incorrect of mouse
Steps to reproduce
func _input(event):
if event.is_action_pressed("ui_cancel"):
mode = true if !mode else false
if mode:
Input.set_mouse_mode(Input.MOUSE_MODE_VISIBLE)
get_tree().paused = true
else:
# THE BUGED FUNCTION IS THE NEXT
Input.set_mouse_mode(Input.MOUSE_MODE_CAPTURED)
get_tree().paused = false