0 votes

My game has first person controls. Character rotation happens when I move the mouse, just like in any other game with the same camera view. When the cursor touches the border of the screen, I can't move the camera any further.

How can I hide the cursor, but so that it continues to send signals and does not go off the screen?

I tried to make it so that the cursor would be fixed to a certain area of ​​the screen, but in this case, I could not move the camera. She constantly twitched in one place when trying to turn the character.

Input.warpmouseposition(Vector2(num1, num2)) does not work. camera twitches

Godot version 3.3.4 stable
in Engine by (14 points)

1 Answer

0 votes

You are probably looking for

by (640 points)
Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read How to use this Q&A? before posting your first questions.
Social login is currently unavailable. If you've previously logged in with a Facebook or GitHub account, use the I forgot my password link in the login box to set a password for your account. If you still can't access your account, send an email to webmaster@godotengine.org with your username.