- 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.
推薦閱讀
- 零起步玩轉掌控板與Mind+
- SQL學習指南(第3版)
- Instant Apache Stanbol
- Production Ready OpenStack:Recipes for Successful Environments
- INSTANT OpenNMS Starter
- PhpStorm Cookbook
- Advanced Oracle PL/SQL Developer's Guide(Second Edition)
- Apache Spark 2.x for Java Developers
- Building Android UIs with Custom Views
- QGIS 2 Cookbook
- C陷阱與缺陷
- 零基礎學C++(升級版)
- Implementing Microsoft Dynamics NAV(Third Edition)
- Instant GLEW
- Python編程入門(第3版)