Introduction to Rigidbodies

Simon Pham
Apr 28, 2024


What is a Rigidbody?

In Unity, a Rigidbody is a component that you can attach to a GameObject to give it physics behavior. This includes things like gravity, forces, and collisions.

A simple demonstration

I’ve set up a simple demonstration called Lab 01 which includes two boxes that are in the air.

Next, I’m gonna a Rigidbody and a Box Collider component to the upper box.

As you can see, only the one with a Rigidbody component is affected by physics in Unity.