Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Getting Started with Unity 5

You're reading from   Getting Started with Unity 5 Leverage the power of Unity 5 to create amazing 3D games

Arrow left icon
Product type Paperback
Published in May 2015
Publisher
ISBN-13 9781784398316
Length 184 pages
Edition 1st Edition
Tools
Arrow right icon
Author (1):
Arrow left icon
Dr. Edward Lavieri Jr. Dr. Edward Lavieri Jr.
Author Profile Icon Dr. Edward Lavieri Jr.
Dr. Edward Lavieri Jr.
Arrow right icon
View More author details
Toc

Character controllers


There are two types of player characters in games: those controlled by human players and those controlled by computers. The first type is known as a player character while the other type is referred to as a non-player character. Player characters can be almost anything you can imagine. In modern games, player characters are usually human or humanoid. This is not to say you cannot create a game in which the player character is an uprooted tree or a rock with seven legs. For our game, the player character will be a human boy named Colt.

Unity uses a game object called a character controller to enable user controls. There are two types of character controllers in Unity. The two types are first person controller and third person controller. The types refer to the user perspective, first or third, used during the game. Take a look at the following image that shows the player perspective:

With first person controllers, only part of the player's character is visible on screen...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Banner background image