This is a general purpose kinematic character controller for Godot 4.2 that acts as a starting place for creating a first- or third-person player.
Still early with a lot of features and tweaks to come.
There is no example scene in this repo at the moment, just the GDScripts.
π Player [CharacterBody3D] <- character_movement.gd
- Collider [CollisionShape3D] <- Should have CapsuleShape3D
- Pivot [Node3D] <- Center on player, raise if you want pivot higher
- Camera [Camera] <- camera_orbit.gd
- βοΈ Walking / Sprinting
- βοΈ Walk up/down Slopes and Stairs
- βοΈ Jumping
- βοΈ Air Control
- βοΈ Third-Person Orbit Camera
- βοΈ Lateral offsetting
- π§ Camera wobble on move
- π§ Position / Distance Lag as player moves around
- π§ First-Person Camera
- π§ Modularization
- π§ Crouching
- π§ Ledge Pull-up
- π§ Moving Platforms
- π§ Ladder Climbing
- π§ Swimming