Deconstructing the First Person Controller object

Let's begin by looking at the objects that make up our First Person Controller (FPC) before we look into the components that make it work.

Click on the gray arrow to the left of First Person Controller in the Hierarchy in order to reveal the objects nested underneath. When objects are nested in this way, we say that there is a parent-child relationship. In this example, First Person Controller is the parent, while Graphics and Main Camera are its child objects. In the Hierarchy, child objects are indented to show their parenting, as shown in the following screenshot:

Deconstructing the First Person Controller object

Parent-child issues

When considering ...

Get Unity Game Development Essentials 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.