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 our player

Having the basis of our world is great, but if we don't have a player, it doesn't matter how nice the level looks. In this section, we will create the actual player that will walk around and move in the world:

  1. Let's first create a capsule by selecting GameObject | Create Other | Capsule. Have a look at the following screenshot:
    Creating our player

    Tip

    If you are using Unity 4.6 or above, use the GameObject | 3D Object | Capsule

  2. Right now, the capsule is too big to fit in our world because it is larger than our blocks. To easily fix this, we will set Scale of our capsule to (.4, .4, .4). Also, set Position to (1, 2, 0).
  3. Now, we want our player to use ...

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