官术网_书友最值得收藏!

Time for action – Shrinking 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 Tab to move the carat to each new field, and press Enter after typing in each field to commit the change.

The Ball should shrink down to 0.4, or 40% of its original size. Note that if you enter 0.4 only into one or two of the three Scale fields, you'll accidentally create a weird-looking egg or an ovoid-shaped ball.

主站蜘蛛池模板: 弥渡县| 泸溪县| 新丰县| 昌吉市| 彩票| 布尔津县| 景洪市| 兴宁市| 宁阳县| 泰顺县| 安新县| 吉木乃县| 湖南省| 白银市| 仁寿县| 蛟河市| 申扎县| 新宁县| 综艺| 洪湖市| 乌鲁木齐县| 同心县| 泌阳县| 宜兰县| 丰城市| 兴宁市| 日土县| 黄骅市| 临安市| 江门市| 香河县| 肇州县| 汨罗市| 石城县| 威海市| 岳阳县| 昌邑市| 平塘县| 英德市| 绵阳市| 乡城县|