Chapter     7

Let’s Bowl! Advanced Physics

At this point, we have the glimmerings of a bowling game, or at least a scene in the Unity Editor where the player can roll the ball around on the floor. But the game won’t look like a bowling game until it at least has bowling pins. That will be remedied in this chapter and involve more Unity physics, including collisions between Rigidbodies (among the ball and pins) and compound colliders (to accommodate the shape of a bowling pin). On top of that, we’ll add collision-based sounds effects so the game will sound like a bowling game, too.

This additional functionality will require the construction of several new scripts, available in the Unity project for this chapter on http://learnunity4.com/ However, ...

Get Learn Unity 4 for iOS Game Development now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.