Unity Project 2: Creating Balls - Task 2 Part 1

This project uses a button that when pressed the scene produces a new ball as a clone.
This hierarchy displays all of the elements needed to create this project. 
By inserting a canvas and panel, the balls had a place to land.


Hierarchy for the ball project 

The inspector allows us to change the position, rotation and scale of the ball. Other options can also be changed in the inspector which includes rigidbody, collider and rendered for the mesh.


Inspector for the ball object




Gamespace

These are the textures I have designed that will wrap around my objects and act as a skin. 



Textures


Different materials can be added to the objects (Panel, Ball etc.) to give them originality and a realistic feel.


Materials

By storing objects already used as prefabs means that they can be re-used making the game creation more  efficient.


Prefabs

When the spam balls button is pressed, the ball object is cloned creating more balls.


Hierarchy when button is pressed




Ball

Each time the button is pressed, the ball object is cloned. Therefore if the button is pressed multiple times, many balls are automatically generated.


Result of button repeatedly pressed


Balls scattered after button is presed


Ball clone

This is the result of the inspector of a cloned ball object.


Inspector for the ball clone

Comments

Popular posts from this blog

Logo Design

Bootstrap Template