How to make the player move following the mouse cursor's orientation? without key pressed?

danju9danju9 Posts: 5Member
in 3D

How to make the player move following the mouse cursor's orientation? without key pressed? For example, if you put the mouse near the center of the screen, the player will stop moving. if you put it near the top of the screen it will move forward, the bottom of the screen, it will move backward. If to the left or to the right, the player will move to the left or to the left. The closer the mouse cursor is to the edge of the screen, the faster the speed is. How can I do that? I am totally a newbie with Godot! I would really appreciate any kind of help!

Leave a Comment

BoldItalicStrikethroughOrdered listUnordered list
Emoji
Image
Align leftAlign centerAlign rightToggle HTML viewToggle full pageToggle lights
Drop image/file