- Unity 3D Game Development by Example Beginner's Guide
- Ryan Henson Creighton
- 206字
- 2021-04-09 22:51:26
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. Just as we did with the Character controller in the Island Demo in Chapter 1, That's One Fancy Hammer, let's use the Inspector panel to move the ball up along the Y-axis into the sky.
- Make sure that the Ball GameObject is selected. Click on it in the Hierarchy panel.
- You can either click-and-drag the green Y-axis to move the ball up, or type a new Y position for it. 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.
- Change the Y position from 0 to 2.
- Press the Enter key to commit this change.
- Your ball may not have begun life at the origin. Make sure that the values for its X and Z position are at 0.
- 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.

推薦閱讀
- Beginning Swift
- MATLAB 2015從入門到精通
- 中文版CorelDRAW X8基礎培訓教程(全彩版)
- 工業軟件研發、測試與質量管理論叢
- AI繪畫實戰:Midjourney從新手到高手
- 二維計算機繪圖教程:二維CAD工程師取證全程指導
- Instant Testing with QUnit
- 詳解AutoCAD 2022電氣設計(第6版)
- OpenCV項目開發實戰(原書第2版)
- Photoshop插畫藝術火星風暴
- Photoshop CC2017圖像處理實例教程
- MATLAB R2024a完全自學一本通
- Instant Markdown
- Learning Ext JS
- Illustrator CC 2018 基礎與實戰教程(全彩版)