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

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.
主站蜘蛛池模板: 郓城县| 千阳县| 都兰县| 临安市| 噶尔县| 电白县| 福州市| 天津市| 永年县| 梧州市| 灌云县| 渭源县| 泊头市| 宁化县| 呈贡县| 南靖县| 山丹县| 祁门县| 达州市| 密山市| 洪湖市| 仪陇县| 石景山区| 涟水县| 从江县| 耿马| 门头沟区| 邢台县| 云和县| 松原市| 兴化市| 扎兰屯市| 来安县| 灵石县| 包头市| 淮安市| 大同县| 墨玉县| 邹平县| 休宁县| 康乐县|