In this section, you will learn what Unity has to offer in terms of a physics engine.
Also known as physics simulations, these engines have been an integral part of 3D and game engines for some time, but rarely are they as easy to get into as with Unity.
A physics engine is a basic physics simulation that allows the developer to add physical properties to GameObjects, such as weight, gravity, bounce, and other factors that allow these GameObjects to act and react in different ways:
- Select the
Hello
object in theHierarchy
panel. - Click on the
Add Component
button in theTextMesh
component in theInspector
panel.
- Click on the
Physics
category:
- Then, select
Rigidbody
:
- Now, repeat steps 1, 2 and 3.
- Select
Box Collider
. - Now, the first word is finished; we need to repeat steps 1-6 for the
World
object.
The Rigidbod
y
is a component that lets Unity apply physics to an object. You can change many of the ways the object reacts to the physical changes.
The Box Collider
allows the object it...