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 a live minimap


Many shooting games provide a radar-view on screen. This is an overview of the map, usually with some indication of enemies or targets. In an architectural context, you can add a minimap. This is a separate camera-view, in overlay on top of the regular view. You can either have a single broad view showing the whole scene or a smaller section, following the main navigation. While not immediately obvious, you can have multiple cameras at the same time. Each camera takes a part of the screen. The default camera uses the full screen. We will now show you how to add a second camera, that floats in front of the rest of the scene:

  1. Create a new camera (GameObject | Create Other | Camera).

  2. Set its Camera component to display an Orthographic projection rather than Perspective, which makes sense for a top view. This removes any perspective view distortion.

  3. To look from above, set the Transform component Position to, for example, X = 0.0, Y = 5.0, and Z = 0.0. By setting the Rotation...

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}