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

Creating our first scene

With these requirements in mind, let's build the framework:

  1. Create a plane, positioned at (0,0,0), and name it ground.
  2. Under Edit | Render Settings, go to the Skybox Material panel of the Inspector pane, and add one of the skybox materials from the skybox package.
    Creating our first scene
  3. The GameObject drop-down menu is where you can select different types of basic Unity3D objects to populate your world. Create a directional light to the scene from GameObject | Create Other, and place it at (0,10,0) for readability. Set its orientation to something like (50, 330, 0) to achieve a neat shading effect on the player capsule. In our world, the y axis will mean "in the air" and the x and z axes will correspond to the horizontal plane of the world.

Congratulations! You have created the testbed for this chapter. Now let's add the character system.

Creating our first scene
主站蜘蛛池模板: 两当县| 亚东县| 绍兴市| 洛隆县| 绥芬河市| 米脂县| 万盛区| 信宜市| 门源| 盐城市| 金沙县| 乌海市| 高邑县| 桐乡市| 常山县| 清徐县| 呼伦贝尔市| 云安县| 抚宁县| 礼泉县| 黄石市| 霞浦县| 伊吾县| 忻城县| 阿拉尔市| 通化县| 高碑店市| 凌海市| 兴安盟| 准格尔旗| 东光县| 榕江县| 香格里拉县| 师宗县| 罗平县| 黔江区| 沛县| 宜章县| 绍兴市| 湖州市| 桦南县|