0 votes

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:

  1. 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?

  2. If not difficult, help the code snippet.

in Engine by (359 points)

1 Answer

+1 vote

Check out the SimpleFirstPerson asset in the assetlibrary. That should hopefully push you in the right direction. https://godotengine.org/asset-library/asset/156

by (30 points)

That's very primitive. But thanks anyway for the help.

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 Frequently asked questions and 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 [email protected] with your username.