
Advanced State Machine First Person Controller 3.0 3D Tools 4.5 Community
Submitted by user Jeheno; MIT; 2025-10-13
All the informations are on the Github repository page !
An advanced and complete state machine first person controller asset, made in Godot 4.
-------------------------------------------------------------------------------------------
This asset provides a simple, fully commented, finite state machine based controller, camera, as well as a properties HUD.
A test map is provided to test the controller.
The controller use a finite state machine, designed to be easely editable, allowing to easily add, remove and modify behaviours and actions.
Each state has his own script, allowing to easly filter and manage the communication between each state.
He is also very customizable, with a whole set of open variables for every state and for more general stuff. This is the same for the camera.
The asset is 100% written in GDScript, and respect the GDScript convention.
He works perfectly on Godot 4.5 and Godot 4.4, and should also works well on the others 4.x versions (4.3, 4.2, 4.1, 4.0), but you will have to remove the uid files.
-------------------------------------------------------------------------------------------
Features :
- Finite state machine based controller
- Smooth moving
- Ability to move on slopes and hills
- Walking
- Crouching (continious and once pressed input)
- Running (continious and once pressed input)
- Jumping (multiple jump system)
- Jump buffering
- Coyote jump/time
- Air control (easely customizable thanks to curves)
- Bunny hopping (+ auto bunny hop)
- Dashing (multiple dash system)
- Sliding (on flat surfaces and on slopes)
- Flying
- Camera FOV management
- Camera tilt (forward and side tilt)
- Camera bob
- Camera lean
- Camera zoom
- Reticle
- Properties HUD
View files Download Submit an issue Recent Edits