Creating 3D objects in Unity
As mentioned in the previous section, GameObjects can include 3D objects with properties and components. In this section, we will create a 3D object to represent a blood droplet that we can use when the Cucumber Man is battling with a Cucumber Beetle. Before we create the object, let's create a material so that our blood droplet can have a realistic red color. Follow these steps to create the material:
- In the
Project
panel, clickMaterials
, and then right-click in the folder and selectCreate
|ÂMaterial
- Name the new material
red
- With the new material selected, click the color box in the
Main Maps
section of theInspector
panel - In the color selector window that pops-up, select a red color and then close the selection box
Your new material, when viewed in the Inspector
panel, should look similar to the following screenshot:
Next, let's create the sphere:
- From the top menu, select
GameObject
 |Â3D Object
 |ÂSphere
. - Use the transform tools to position the new sphere so that...