Time for action – move the Ball Into the "Sky"

We want the ball to start somewhere in the "sky" (the area above the ground plane) so that it will have somewhere to fall from:

  1. Make sure that the Ball game object is selected. Click on it in the Hierarchy panel.
  2. See the control gizmo poking out from the center of the ball? You can either click-and-drag the green Y-axis to move the ball up, or type a new Y position for it in the Inspector panel. As we want to stay on the same page together, let's type it. Look in the Inspector panel and find the Y field—it's next to Position in the Transform component of the Ball:
    Time for action – move the Ball Into the "Sky"
  3. Change the Y position from 0 to 2.
  4. Press ...

Get Unity 4.x Game Development by Example Beginner's Guide now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.