Sphere primitive
Add a spherical object to your scene and edit its properties.
Read time 1 minuteLast updated 2 days ago
A Sphere primitive is a smooth, rounded 3D shape you can quickly add to a scene. You can use them as placeholders in prototypes, or as final assets like planets, props, collectibles, or spherical parts of larger objects and characters.
Sphere properties
Select on the Sphere in the Hierarchy to open the Inspector window, where you can edit the object's properties. The following components are available by default on Sphere primitives. You can add other components to your object to add more functionality.Change the values of this component to update the object's position, rotation, or size.
Property | Description |
|---|---|
| Position | Set or retrieve the object's location in 3D world space (X, Y, Z). |
| Rotation | Set or retrieve the object's rotation around the X, Y, and Z axes (degrees). |
| Scale | Use the X, Y, and Z values to change or retrieve the object's size. |
You need a Mesh Renderer component to display meshes in your scene. Without this component, a mesh can't be visible.
Property | Description |
|---|---|
| Mesh | Assign the mesh you want to show in your scene. |
| Materials | A list of materials that belong to this mesh. Expand the material to edit its properties. |
| Edit Material | Expand one of the materials to show this option. When you select this option, Unity Studio makes a copy of the material and assigns the copied material to the mesh. Because the material is a copy, you can change its properties without affecting other meshes that use the same original material. To change the material on all objects, refer to Edit the material in the My Assets folder. |
Material properties
Select Edit Material to change the properties of the material.For information about the material settings, refer to Material reference.A Sphere Collider is a physics collider shaped like a sphere. Use this collider for spherical or round objects that need to detect or respond to collisions.
Property | Description |
|---|---|
| Use as Trigger | Enable to allow other objects to overlap with this object, which means no physical collisions take place. The collider can still fire events when it detects another object. Disable to keep the object able to collide with others. |
| Center | Define the center of the object where the collider starts from. |
| Radius | Change the size of the collider. |
Adjust how objects move and interact with gravity. You can set the mass of the object and choose whether it’s affected by gravity.
Property | Description |
|---|---|
| Mass | Define the mass of the object. |
| Use Gravity | Enable for gravity to impact the object. Object falls during Play mode unless it's grounded. Disable for gravity to have no impact. |