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:
Create a new camera (GameObject | Create Other | Camera).
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.
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...