O'Reilly logo

Unity Game Development Blueprints 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 tiles

Before we get started, it's a good idea to see how the object looks to us, so let's add in a temporary controller to give us an idea of what it looks like:

  1. Go to the Prefabs folder, and drag-and-drop one of the modified First Person Controller prefabs that we made in the previous chapter into the Scene view. Once done, set Position to (0, 1, 0). Rather than setting each of the properties, we can easily do this by right-clicking on Transform and selecting Reset Position and then setting the Y position to 1. After this, in the Character Motor component, under the Movement section, set Gravity to 0 so that we do not fall for the time being (we will replace this controller later):
  2. Right now, if you play the game, there will be a warning ...

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