O'Reilly logo

Unity 3D Game Development by Example by Ryan Henson Creighton

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

Time for action - create the ball

  1. Add a built-in GameObject to the Scene.
  2. In the menu, click on GameObject.
  3. Point to Create Other.
  4. Click on Sphere.
Time for action - create the ball

What just happened that's all there is to it?

Well, yeah, actually! Unity has a number of prebuilt simple 3D models, also known as primitives, which we can use to get started. You've just created a built-in Game object with three components on it. Look at the Inspector panel to see what those components are:

  • Transform: This determines how a Game Object is positioned, rotated, and scaled (made big or small) in your Scene.
  • Mesh Filter: This component takes a mesh, which is the stuff our Game Object is made ...

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