

Most of the Inspector view options for meshes are advanced and are not covered right now. Notice the Materials folder that was added for you. If done correctly, your Project view will resemble Figure 3.2. In Unity, click the Models folder to see the new Torus file. With both the operating system’s file browser and the Unity editor open and side by side, click and drag the Torus.fbx file from the file browser into the Models folder that you created in step 2.

Locate the Torus.fbx file provided for you in the Hour 3 folder of the book files.Ĥ. (Right-click the Assets folder and select Create > Folder.)ģ. In the Project view, create a new folder named Models under the Assets folder. Let’s walk through the steps required to bring custom 3D models into a Unity project:Ģ. This might not be the prettiest way to make models for your game, but it will do in a pinch! This way, when you move the parent, all the children move, too. Then nest all the objects under one central object.

Just place the meshes near each other so that they form the rough look you want. Later in this hour, you’ll see just how triangles can make up various shapes in the Unity Scene view.ĭo you need a complex object in your game but you can’t find the right type of model to use? Nesting objects in Unity enables you to easily make simple models using the built-in meshes. Don’t worry, though Unity handles all of this for you so that you don’t have to manage it yourself. These strips provide the 3D definitions of a model and can be processed very quickly. These triangles build off of each other in strips to form basic to very complex objects. A mesh, at its most simple, is a series of interconnected triangles. Because games use a large number of objects, the need to process things quickly was very important. In worlds with a third axis, objects need to have volume to fool the eye. In 3D games, however, things aren’t so simple. All you needed to do was change the x and y positions of these sprites and flip several of them in sequence and the viewer’s eye was fooled into believing that it saw true motion and animation.

In 2D games, the graphics consist of flat images called sprites. Video games wouldn’t be very video without the graphical components.
