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 - shrink the ball

The units in our 3D world are arbitrary. When you're working on your game, it may help to ascribe real-world measurements to these units. Perhaps one unit equals one foot or one meter? If you're building a real-time strategy game where the scale is much larger, maybe one unit equals one mile or one kilometer? The Ball that we've just created is a little large for our purposes, so let's shrink it down a touch.

  1. With the Ball still selected, type 0.4 for the X, Y, and Z scale values in the Transform Component of the Ball.
  2. Press Enter after typing in each field to commit the change.
Time for action - shrink the ball

The Ball should shrink down to 0.4, ...

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