Chapter     5

Player Controller

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 ...

Get Pro Unity Game Development with C# now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.