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

Adding Player Start

For every game, you need to set where the player will spawn. Go to Modes | Basic | Player Start. Click, hold, and drag Player Start into the viewport.

This screenshot shows the Modes window with Player Start:

Place Player Start in the center of the ground or slightly above it as shown in the following screenshot:

Deselect Player Start by pressing the Esc key. The light blue arrow from Player Start indicates the direction in which the player will spawn the game starts. To adjust the direction that the player faces upon spawning, rotate Player Start until the light blue arrow points in this direction. Take a look at the following tip on how to rotate an object.

Useful tip – rotating objects in a level

To rotate an object in a level, we use the Rotate tool to rotate objects around the x (row), y (pitch), and z (yaw) directions. Select the object and press the E key to display the Rotate tool. Three lines with a box tip will appear to extrude from the object. Click and hold the red arrow to rotate the object around the x axis, the green arrow to rotate it around the y axis, and the blue arrow to rotate it around the z axis.

Another way to rotate an object more accurately is by controlling its rotation through the actual rotation values found under Details. (Select the object to be rotated to display its details). In the Transform tab, go to Rotation, and set the X, Y, and Z values to rotate the object. There is an arrow next to Rotation that you can click on to select if you want to adjust the rotation values for Relative or World. When you select to rotate an object using the Relative setting, the object will rotate relative to its current position. When the object is rotated using the World setting, it will be relative to the world's position.

If you want the player controller (as shown in the preceding screenshot) to have the light blue arrow facing inwards and away from you, you will need to rotate the player controller 180 degrees around the y axis. Enter Y as 180 under the Relative setting. The player controller will be rotated in the manner shown in this screenshot:

主站蜘蛛池模板: 嘉定区| 额尔古纳市| 徐汇区| 永城市| 增城市| 纳雍县| 赫章县| 宁津县| 缙云县| 龙井市| 喜德县| 东明县| 西峡县| 德惠市| 舟曲县| 海丰县| 阿巴嘎旗| 应用必备| 江达县| 天长市| 景泰县| 平泉县| 银川市| 漳平市| 汉中市| 长泰县| 久治县| 沭阳县| 焦作市| 冀州市| 闽清县| 类乌齐县| 恩平市| 自治县| 栾城县| 土默特右旗| 遂宁市| 湄潭县| 新兴县| 济宁市| 同心县|