O'Reilly logo

Building an FPS Game with Unity by John P. Doran

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

Creating geometry

The first thing we are going to do is to learn how to create geometry as follows:

  1. From the top menu, go to File | New Scene. This will give us a fresh start to build our project.
    Creating geometry
  2. Next, because we already have Prototype installed, let's create a cube by hitting Ctrl + K.
    Creating geometry
  3. Right now, the Position value of our cube (with its name as pb-Cube-1562 or something similar) is 2, -7, -2. But for simplicity's sake, I'm going to place it in the middle of the world. We can do this by typing in 0, 0, 0 by going over to the Inspector tab, going to ...

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