CheekyFPS is a barebones first person controller I put together, mostly for my own benefit prototyping different ideas and wanting a basic (as few dependencies / clutter as possible) but nice-feeling project to start from. I figure someone else might benefit from this too, as most first person projects I’ve seen are either trying to be an all-encompassing game template, or are just too sloppily coded to be a good starting point.
You can grab the project from Github here.
Main features are:
- First Person Movement with multiple movement speeds and modifiers (e.g. moving backwards or side to side is slower)
- Smooth crouching
- Correct implementation of mouse smoothing that avoids using a spring arm (please stop doing this)
- Smooth, animation-driven headbob system, with a dynamic spring for vertical jump/landing
- Quake style camera roll (side to side)
- Dynamic DOF
- Basic footstep implementation (easily expandable!)
- Basic health component including fall damage calculation