Sitemap

Rigidbody Basics

2 min readApr 28, 2025

Objective: Rigidbody Basics.

When you want to add physics to object we add Rigidbody to that object .

Now select the game object<Inspector <add Component, search for Rigidbody and click it to add it.

Note: Rigidbody is 3D Rigidbody and Rigidbody2D is for 2D game, it does not mean 3D Rigidbody wont work on 2D environment.

Press enter or click to view image in full size

If we hit play the Object will pass through the floor.

Press enter or click to view image in full size

In order for collection to happen a game Object must have component called a Collider, their are many type of collider keep in Mind.

To solve this add Bix Collider to our box, this collider will automatic match the shape and size of the object.

Press enter or click to view image in full size

Now if we play the editor our object will hit on the ground like normal Object.

Press enter or click to view image in full size

Now I will add both component to other box and hit play.

Press enter or click to view image in full size

Bonus, you can find Rigidbody and Collider to other option called Physics or Physics2D

See you into the next one.

--

--

Suleiman Abdullah
Suleiman Abdullah

Written by Suleiman Abdullah

My name is Suleiman Abdullah. I learn game development and share what I learn by writing articles. :https://ko-fi.com/suleimanabdullah

No responses yet