Search icon
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
Free Learning
Arrow right icon
Unity for Architectural Visualization

You're reading from  Unity for Architectural Visualization

Product type Book
Published in Sep 2013
Publisher Packt
ISBN-13 9781783559060
Pages 144 pages
Edition 1st Edition
Languages
Author (1):
Stefan Boeykens Stefan Boeykens
Profile icon Stefan Boeykens

Adding navigation using a first person controller


In most interactive 3D environments, you have a basic choice of two main navigational configurations when you want to walk around: first and third person perspective.

When Unity is installed, it comes with a set of packages that add assets for common tasks. If you forgot to check the Character Controller package when we initiated the game project, you can still do so from the Assets menu by navigating to Assets | Import Package | Character Controller.

In the Project tab, you can find the First Person Controller (FPC) in the Standard Assets | Character Controller folder. Drag it onto the Hierarchy or Scene window. Position it using the Move and Rotate gizmos where you want to start in the scene and ensure the bottom side of the Capsule geometry is slightly above the ground, to avoid falling through into the oblivion.

If there is no ground geometry in your project, you could add a Plane GameObject with Transform Position Y=0, to act as a simple...

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 €14.99/month. Cancel anytime}