SkillAgentSearch skills...

GodotFirstPersonController

Basic First Person Controller for Godot 4

Install / Use

/learn @rbarongr/GodotFirstPersonController
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

Godot 4 - Basic First Person Controller

This project contains the basic implementation of a First Person character controller for Godot 4.

The code found in player.gd uses vector forces to move the player. You can tweak the values of the forces in the editor directly. The velocity of the player is calculated as a result of the vector sum of different vector forces: walk, jump and gravity.

The main scene is a Sandbox scene used to test the controls:

EditorView

Controls

| Keys | Action Name | Description | |:------:|:-------------:|:-------------:| | <kbd>W</kbd>,<kbd>A</kbd>,<kbd>S</kbd>,<kbd>D</kbd>, <kbd>left stick</kbd> | move_ + dir | Move | | mouse, <kbd>right stick</kbd> | look_ + dir | Look/Aim | | <kbd>Space</kbd>, <kbd>Xbox Ⓐ</kbd> | jump | Apply jump force | | <kbd>ESC</kbd>, <kbd>Xbox Ⓑ</kbd> | exit | Close the game |

You can change any of this keys in: Project Settings → Input Map.

Related Skills

View on GitHub
GitHub Stars152
CategoryDevelopment
Updated21d ago
Forks11

Languages

GDScript

Security Score

100/100

Audited on Mar 12, 2026

No findings