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

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:

主站蜘蛛池模板: 台州市| 沙湾县| 兰考县| 会东县| 沾化县| 扎兰屯市| 珲春市| 和平区| 永靖县| 扶绥县| 腾冲县| 洛阳市| 延长县| 辰溪县| 绥化市| 石嘴山市| 长宁县| 安阳市| 那曲县| 仙桃市| 达拉特旗| 灵宝市| 湄潭县| 绥芬河市| 宿州市| 巴林右旗| 神农架林区| 达日县| 福海县| 临夏县| 尉犁县| 南木林县| 加查县| 霍林郭勒市| 桂平市| 桑日县| 柘荣县| 平湖市| 沂水县| 黑水县| 西乌珠穆沁旗|