How To Make Game Objects Bounce In Unity?

Learn how to make your Game Objects bounce on hitting a wall or the floor in Unity for Games, Applications, and AR/VR Experiences.

Rajat Kumar Gupta
3 min readMay 4, 2021

What are you going to learn?

Set the value of Bounce Combine to Maximum and our ball won’t stop bouncing at all
This is what you will learn

In this article, I will show you how you can make your Game Objects bounce. This is useful when you need to make a ball bounce off the floor, the walls, or the ceiling. Let’s see how we can achieve this in Unity.

The key step here is to use a Physics material and change the properties of it so that it behaves like a bouncy object. It is easier than you think.

Here are the steps —

Step 1: Add a plane and a sphere to an empty scene.

The plane represents the floor and the sphere will be the ball that bounces on that floor.

Position the floor and the sphere so that the sphere is on top of the plane
Position the floor and the sphere so that the sphere is on top of the plane

I also added a blue color to the floor. If you don’t know how to do that, you can check out my article - “How To Apply Color To A Game Object In Unity?

Step 2: Add the Rigidbody component to the Ball

--

--

Rajat Kumar Gupta
Rajat Kumar Gupta

Written by Rajat Kumar Gupta

I write articles on Blender (3D Modeling and Animation), speedcubing, my YouTube channel and whatever I find interesting.

Responses (3)