Unity Game Development: Script, Build, Customize your Game from Scratch for Beginners and Experts by Peterson Kent

Unity Game Development: Script, Build, Customize your Game from Scratch for Beginners and Experts by Peterson Kent

Author:Peterson, Kent [Peterson, Kent]
Language: eng
Format: epub
Published: 2021-10-02T00:00:00+00:00


The green point increases the shape on the Y Axis (height) and the blue point increase on the Z Axis (depth) and then the red point increases or decreases on the X Axis (weight).

So ensure you make it into a flat and long plane.

Create another cube and click on the move tool, use this tool to move the cube a bit above the height of the flat shape.

And then use the scale tool to reduce the size proportionally by toggling the white point in the centre of the cube.

After you have done this, you will give the cube a rigidbody component (this component gives your cube a physics component as modeled from the real world. A rigidbody component gives a gameobjects properties like force and response to gravity) by going to add component under the Properties menu, use the search bar to get the rigidbody component and click on it (make sure you don’t rigidbody2d).

So, to demonstrate scripting, we will select the cube object.

And go to add component to add a new script component to it, and ensure you give the script a name



Download



Copyright Disclaimer:
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.