- Unity 3.x Game Development by Example Beginner's Guide
- Ryan Henson Creighton
- 165字
- 2021-04-02 18:34:05
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.
- With the Ball still selected type 0.4 for the X, Y, and Z scale values in the Transform Component of the Ball.
- 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.
推薦閱讀
- 深入核心的敏捷開發:ThoughtWorks五大關鍵實踐
- DBA攻堅指南:左手Oracle,右手MySQL
- Design Principles for Process:driven Architectures Using Oracle BPM and SOA Suite 12c
- JavaScript 網頁編程從入門到精通 (清華社"視頻大講堂"大系·網絡開發視頻大講堂)
- MATLAB 2020 從入門到精通
- Java:Data Science Made Easy
- 深入淺出RxJS
- 正則表達式經典實例(第2版)
- Python編程從0到1(視頻教學版)
- Java編程的邏輯
- AIRIOT物聯網平臺開發框架應用與實戰
- JavaScript腳本特效編程給力起飛
- UML軟件建模
- Instant GLEW
- Android嵌入式系統程序開發(基于Cortex-A8)