O'Reilly logo

Unity 3D Game Development by Example by Ryan Henson Creighton

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Time for action - itchy trigger finger

This is a whole lot of nerd-talk and not enough shooting. Let's build a bullet so that we can take these alien bad boys down.

  1. In the menu, click on GameObject | Create Other | Sphere. Rename the resulting sphere bullet.
  2. In the Hierarchy panel, click to select your newly minted bullet.
  3. Hover over the Scene view and press the F key to focus it within the Scene.
  4. In the Inspector panel, reset the bullet's Transform values, and then punch in 0.5 for all three scale values:
    • Position: X:0, Y:0, Z:0
    • Rotation: X:0, Y:0, Z:0
    • Scale: X:0.5, Y:0.5, Z:0.5

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required