Skip to content
James Russell edited this page Apr 7, 2018 · 7 revisions

Godot 3.0.x FPC (First Person Controller) Project

This project, called "Godot FPC Base", is a Godot 3.0.x project that can be used as a base for creating a first-person controller for a video game, architectural visualization, or more.

This manual/wiki provides an in-depth explanation of how this project works and its structure. It's not terribly complicated, but nevertheless I've covered it from top to bottom for newcomers.

This is a relatively comprehensive FPC (First-Person Camera) controller project for Godot 3.x. It includes:

  • Mouse-look.
  • Keyboard movement (no joystick).
  • Jumping
  • Stepping up stairs and platform.
    • Camera interpolation when stepping up.
  • Context sensitive “Use” functionality (like opening doors, pushing balls, etc.).
  • Slope angle sensitive acceleration/deceleration.
    • Can be attenuated or turned on or off.

The main purpose of this project is to help people (including myself) learn how to program a player character in a video game. The principles in this project can be applied to any kind of game. After understanding the basics, it’s a simple matter of going forward and programming, little by little, step by step, any kind of character you need. For instance, jumping in a 3D FPS can be the same as jumping in a 2D game.

I hope I explain well enough how this project works and how to implement it into your own project.

This manual is also available as a PDF file in the project tree: PDF MANUAL