Creating a simple diorama

Now, we will add a few objects to the scene to set up the environment, including a unit cube, a flat plane, a red ball, and a photographic backdrop.

Adding a cube

Let's add the first object to the scene—a unit-sized cube.

Within the Hierarchy panel, use the Create menu and choose 3D Object | Cube. The same selection can also be found in the main menu bar's GameObject dropdown.

A default white cube is added to the scene, centered on the ground plane at the (0, 0, 0) position with no rotation and a scale of one, as you can see in the Inspector panel. This is the Reset setting, which can be found in the object's Transform component of the Inspector panel

Tip

The Reset values of the Transform component are Position (0, 0, 0), ...

Get Unity Virtual Reality Projects 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.