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

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.
主站蜘蛛池模板: 汶川县| 呼图壁县| 临城县| 丹棱县| 英山县| 富民县| 于田县| 辽宁省| 蓬莱市| 湘乡市| 广南县| 唐山市| 河北省| 乡宁县| 宁武县| 淮安市| 河北省| 康马县| 郯城县| 莲花县| 监利县| 黄山市| 张家口市| 岳普湖县| 洛浦县| 泸定县| 宁都县| 成安县| 蒲城县| 新安县| 石城县| 高阳县| 尼勒克县| 深泽县| 镇平县| 司法| 汉源县| 巴彦淖尔市| 黔西县| 姜堰市| 岫岩|