Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.
  • Book Overview & Buying Unity Game Development Blueprints
  • Table Of Contents Toc
Unity Game Development Blueprints

Unity Game Development Blueprints

By : John P. Doran
4 (6)
close
close
Unity Game Development Blueprints

Unity Game Development Blueprints

4 (6)
By: John P. Doran

Overview of this book

If you want to build enticing projects with Unity, this book is for you. Readers who are familiar with the basics of how to create simple projects in Unity will have an easier time.
Table of Contents (11 chapters)
close
close
10
Index

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:

    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 gravity and forces, so we will need to add a rigid body component by going to Component | Physics | Rigid Body.

    Note

    The 2D and 3D Physics systems are not interchangeable. You'll need to choose one or the other when working on a project. We're using 3D right now, so you can have a good idea of what to look out for, and the differences between 2D and...

CONTINUE READING
83
Tech Concepts
36
Programming languages
73
Tech Tools
Icon Unlimited access to the largest independent learning library in tech of over 8,000 expert-authored tech books and videos.
Icon Innovative learning tools, including AI book assistants, code context explainers, and text-to-speech.
Icon 50+ new titles added per month and exclusive early access to books as they are being written.
Unity Game Development Blueprints
notes
bookmark Notes and Bookmarks search Search in title playlist Add to playlist font-size Font size

Change the font size

margin-width Margin width

Change margin width

day-mode Day/Sepia/Night Modes

Change background colour

Close icon Search
Country selected

Close icon Your notes and bookmarks

Confirmation

Modal Close icon
claim successful

Buy this book with your credits?

Modal Close icon
Are you sure you want to buy this book with one of your credits?
Close
YES, BUY

Submit Your Feedback

Modal Close icon
Modal Close icon
Modal Close icon