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

Building a doorway

As awesome as it is to have a room, our levels are actually going to be much larger than this. Let's open an opening to the rest of the levels by creating a doorway.

Now, if we had ProBuilder, we could use the subdivide tool and modify the faces to open up a doorway. But in our case, we will rebuild our room, taking the door into consideration:

  1. Let's go ahead and delete our floor/walls object and move our original ceiling back down to 0, 0, 0.
    Building a doorway
  2. Let's press Ctrl + K to spawn a new brick and bring it into our scene. Move it so that it snaps to the edge of our room, making sure that the Prototype subselection is turned off before the ...

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