Origin story

The center of your game world is called the origin. The origin is the magical place in 3D space where everything begins. 3D space is divided up by X, Y, and Z axes. If you remember your Cartesian grid from grade school, or if you've ever seen a bar or line graph, the X-axis runs one way (usually horizontally), and the Y-axis runs perpendicular to it (usually vertically). 3D is like taking a second piece of paper and sticking it at right angles to your graph so that you have a third axis firing straight up at your face from your desk, and down into the floor in the opposite direction.

Origin story

The orientation (the way the X, Y, and Z axes are ...

Get Unity 3D Game Development by Example now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.