Add physics to your game

Let's tap into Unity's built-in physics engine by adding a Rigidbody component to the Ball:

  1. Select the Ball from the Hierarchy panel.
  2. In the menu, navigate to Component | Physics | Rigidbody.
  3. A Rigidbody component is added to the Ball. You can see it in the list of the components of the Ball game object in the Inspector panel:
    Add physics to your game
  4. Make sure that the Rigidbody component's Use Gravity checkbox is checked in the Inspector panel.
  5. Press Play to test your game.
  6. Press Play again when you've recovered from how awesome that was.
    Add physics to your game

No way! When you tested your game, you should have seen your Ball plummet straight down and land on the Paddle. How cool was that? If you answered, "Especially cool", give yourself ten points.