Skip to content

luciusponto/godot_first_person_controller

Repository files navigation

First Person Controller

First person controller for Godot engine.

Adapted and expanded from FirstPersonStarter by Dimitar "Whimfoome" Dimitrov, MIT license.

Tested with Godot 4.1

How to use

Step 1

Download the most recent release and unzip it somewhere in the project (we recommend the res://addons folder; create if needed).

Step 2

Drop Player.tscn in your scene.

Step 3 (optional)

Add fpsc_input_mgr.gd to Project -> Project Settings -> Autoload tab to have the default controls work without having to configure the Input Map

Feel free to delete the Examples folder.

Default controls from fpsc_input_mgr.gd

Movement: WASD / UP, DOWN, LEFT, RIGHT

Look: Mouse / Right joypad stick

Jump: Space

Sprint: Shift

Mantle: E

Crouch: Control

Use: F

Toggle capture / release mouse: Shift + F1

About

First person controller for Godot engine

Resources

License

Stars

Watchers

Forks

Packages

No packages published