Modeling ******** Basic modeling ============== It is not always easy to find graphic assets that match your needs. Therefore, you should at least know how to create simple shapes to enhance your 3D demos. The first and simplest approach is to model the elements of your game using a cubic shape or a sphere. This is the basic technique that everyone should know. For example, if you want to model a pickup: * Create a 3D Cube * In the Inspector, in the scale values, enter 6, 2 and 2.5 (distances are in meters) .. image:: pickup1.png :scale: 60% * (You may find these dimensions on internet) * Duplicate this cube (CTRL-D) * Move this cube upward so that it is placed above the base .. image:: pickup2.png :scale: 40% * Change its X scale value to 1.5 * Move this cube to obtain a ratio 1/2 1/4 1/4 .. image:: pickup3.png :scale: 40% * In the Assets folder, go to *SolidColorMaterials* folder * Drag and drop a material to color our two cubes .. image:: pickup.gif :scale: 50% * Select the two cubes (SHIFT+Click) * Use CTRL+SHIFT+G to group them * In the hierarchy windows, click on the newly created object and rename it *Pickup* * Here is our final result: .. image:: view.gif :scale: 80% .. warning:: You should at least reach this level of modeling for your project. It is simple, effective, and allows for a good understanding of the objects in the scene. Lego Style modeling =================== You can refine the first approach by adding details to your model: * Two headlights .. image:: pickup4.png :scale: 40% * A bumper .. image:: pickup5.png :scale: 40% * Four wheels .. image:: pickup6.png :scale: 40% * A windshield .. image:: pickup7.png :scale: 40% * Some furniture .. image:: pickup8.png :scale: 40% * A door handle .. image:: pickup9.png :scale: 40% * In the Hierarchy, click and drag each new items under the *Pickup* node At the end, your hierarchy should look like this: .. image:: pickup0.png :scale: 40% .. note:: We've reached the highest level achievable using a LEGO-style modeling approach. Congratulations! There's no need to go further unless you're curious. Probuilder ========== --- Optional - For the curious --- One of the last chapter of this Sphinx documentation covers ProBuilder, a 3D polygonal modeling tool built directly into Unity 6. If you're interested in leveling up and creating more polished models, feel free to have a look.