Time for action – Make the ball bouncy

  1. Let's import a new package with certain goodies we'll need to make the ball bounce. In the menu, click on Assets | Import Package | Physic Materials, then click on the Import button. A bunch of Physic Materials (whatever they are) get added to our Project panel.
    Time for action – Make the ball bouncy
  2. Make sure that the Ball is selected.
  3. In the Inspector panel, find the Sphere Collider component of the Ball. If it is closed, click on the gray triangular arrow to expand it so that you can get at its goodies.
  4. Find the Material parameter of the Sphere Collider.
  5. Click on the small black circle next to the label that reads None (Physic Material).
  6. Choose

Get Unity 3.x Game Development by Example now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.