
上QQ阅读APP看书,第一时间看更新
More bounce to the ounce
The Ball hits the Paddle and comes to a dead stop. Pretty cool for such a small effort, but it won't do for a keep-up game. We need to get that Ball bouncing!
Select the Ball and take a close look at its Sphere Collider component in the Inspector panel. One of the parameters, or options, is called Material. Next to that, we see the label None (Physic Material) (this text may be slightly cut off—to see the whole label, click-and-drag the left edge of the Inspector panel to increase its width.) There's a small black arrow next to the label that means it's a drop-down list. What hidden wonders await us in that list?