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

Time for action – Moving 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.
  3. Change the Y position from 0 to 2.
  4. Press the Enter key to commit this change.
  5. Your ball may not have begun life at the origin. Make sure that the values for its X and Z position are at 0.
  6. The Ball Game Object should now be hovering two units above the ground plane, which is a marvelous height from where any self-respecting ball can endeavor to fall.
主站蜘蛛池模板: 衡东县| 康乐县| 重庆市| 阜城县| 阿拉善右旗| 乌拉特中旗| 瓦房店市| 北京市| 琼结县| 江西省| 焉耆| 江都市| 辽宁省| 云南省| 大英县| 东光县| 冷水江市| 左权县| 乐平市| 荆门市| 莱西市| 千阳县| 穆棱市| 昌吉市| 姜堰市| 青岛市| 连平县| 高碑店市| 金门县| 耒阳市| 咸宁市| 麟游县| 凌云县| 微山县| 吉水县| 台东县| 彰化县| 泾川县| 抚宁县| 伊宁县| 上高县|