Book Image

Mastering Unity Scripting

By : Alan Thorn
Book Image

Mastering Unity Scripting

By: Alan Thorn

Overview of this book

Table of Contents (17 chapters)
Mastering Unity Scripting
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Orthographic cameras


Every newly created camera object in Unity is, by default, configured as a perspective camera, unless you change the default settings. This type of camera most closely corresponds to real-life cameras that have a position within the 3D space, a curved lens, and employ methods to convert captured images onto a flat, 2D surface, like a screen. The chief symptom of such a camera is foreshortening, the name given to the distortion applied to rendered objects. Specifically, rendered objects grow smaller as they recede into the distance, the shape and appearance of objects change as they move further from the center of vision, and all parallel lines converge at a vanishing point somewhere in the distance, whether on the horizon line itself or on a secondary line. In contrast to perspective cameras, however, there are orthographic cameras. These are useful for the creation of 2D and truly isometric games and not just for the semblance of isometric. With orthographic cameras...