Time for action – ditching the Ball and Paddle

Click on the Paddle in the Hierarchy panel, and uncheck the checkbox next to its name in the Inspector panel to make it disappear. Do the same for the Ball. Retest the game. The Ball and Paddle are turned off; you should see only the heart bouncing on the tray.

What just happened – bypass the aorta

The reason we're using a Capsule Collider on the heart instead of a Mesh Collider is that the heart model is pretty weird and irregular. It could catch its aorta on the corner of the tray and go spinning unpredictably out of control. The Capsule Collider gives the heart a little more predictability, and it won't be glaringly obvious that the heart isn't colliding perfectly. (Of course, a capsule shape is ...

Get Unity 4.x Game Development by Example Beginner's Guide 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.