Making the Player Go

We have a Player GameObject but there’s nothing to make it “go” at this point. We’re going to remedy that by creating a custom character controller so that our player can perform basic movements such as running and jumping. We’ll also touch briefly on some of the necessary physics required to make this work, but that will be covered in greater detail in Chapter 7, “Setting Up Player Physics and Colliders.”

Get Learning 2D Game Development with Unity®: A Hands-On Guide to Game Creation 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.