Time for action - it's a hit!

Now we'll do a little fiddling to bring the Character Prefab in line with its new, smaller spaceship model. You remember when we added that gigantic green box collider to the human character? Well it's still there, and it's not going to cut it for this game. We fix!

Time for action - it's a hit!
  1. In the Hierarchy panel, click to select the Character Prefab.
  2. Point your mouse cursor over the Scene view, and press the F key on your keyboard to focus in on the ship.
  3. In the Inspector panel, find the Box Collider component.
  4. In the menu, go to Component | Physics | Mesh Collider. A prompt asks us whether we want to Replace or Add the new collider. Click ...

Get Unity 3D 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.