In Godot 2.1 I used the script for control in the first person (WASD+Space+mouse) which borrowed in some project. The essence of the script was to calculate the force and vector and the use of this force to the "body" (RigidBody). I slightly modified that script, but I was never sure it was the best solution. Now, after exporting to Godot 3, I can't get it to work properly at all.
Here I want to ask for help:
Tell me what the physical body is optimally used to create the game character controlled by the first person? What methods to carry out movement?
If not difficult, help the code snippet.