Hello!
I cannot make look by mouse work normally in Godot 4.2.1.
When mouse mode is set to anything other than MOUSE_MODE_CAPTURED, mouse pointer motion produces InputEventMouseMotion and I can use event.relative value. But eventually pointer leaves the window and InputEventMouseMotion stops coming.
But if I set mouse mode to be MOUSE_MODE_CAPTURED, mouse motion events are not generated and cursor stays in the center of the screen.
What would be the right way to make look by mouse in 3D in Godot 4.2.1 so that it doesn't leave the window and keeps producing motion events?
It must be the answer is trivial but for some reason I cannot figure it out. I'd appreciate any advice!
Thank you!