Player Controller

  • Alan Thorn


FPS games (first-person shooter games) are played, unsurprisingly, from a first-person perspective. This means that game events, and the game world, are seen through the eyes of the main game character—as though you were that person in that world. This perspective is perhaps one of the most common kinds in contemporary video games. It’s used in some of the famous and biggest selling games in history, including Call of Duty, Halo, Skyrim, and others. CMOD too will be an FPS game. Consequently, we’ll need first-person behavior. Thankfully, lots of the underpinning coding work for this is created for us, from the standard Unity Character Controller packages (specifically the First Person Controller). However, this package features important limitations that we’ll want to overcome for CMOD. Throughout this chapter, we’ll examine the First Person Controller further, refining and adapting it by creating our own customized PlayerController class with first-person functionality and more besides.


Sine Wave Person Controller Character Controller Object Inspector Player Health 
These keywords were added by machine and not by the authors. This process is experimental and the keywords may be updated as the learning algorithm improves.

Copyright information

© Alan Thorn 2014

Authors and Affiliations

  • Alan Thorn
    • 1
  1. 1.EssexUnited Kingdom

Personalised recommendations