Built-in 3D object-unity3d game development Training

Source: Internet
Author: User

Built-in 3D object-unity3d game development Training

Deng Jiahai

2018-02-12 19:21:58

Five Large panels:

-hierachy: Objects in the current scene

Figure 1-1

-project: All resources in the project

Figure 1-2

-scene: Preview of the current scene

Figure 1-3

-inspector: Properties

Figure 1-4

-game: Game view, view the scene in camera vision, preview what the player sees

Figure 1-5

Figure 1-6

The shortcut keys are Q, W, E, R, the first hand is moving, the second is the XYZ coordinate movement, the third is the spherical rotation, and the fourth 2D view.

-Q: Moving scenes

-W: Position transform

-E: Position transformation

-R: Scaling Transformation

-t:2 the movement, scaling, rotation of the sprite

-2d: Click 2D to Toggle 2-and 3-dimensional viewing angles

-Right-click: adjust angle of view, coordinate system transformation

-middle button (wheel)

Figure 1-7

Clicking on the main camera will display a camera view in the scene, which is what the game sees. Click on the element and the scene will locate the relevant element. You can also see the relevant properties in the Inspector. Each element has a tranform (change) object that has a position (position), rotaion (rotation), scale (scaling) three properties.

Figure 1-8

Camera Object

Figure 1-9

Coordinate right-click to select the direction of vision, learn to look at the coordinate system.

Figure 1-10

3D development inside, it is very important to recognize the coordinate system, many students at the beginning, did not recognize the coordinate system, to the back of the development of the blindfolded, do not know how untitled is displayed, the development of things with their expected effect is inconsistent. So be sure to find the north. Don't be dizzy.

Built-in 3D game objects

Common built-in 3D game objects

Figure 1-11

-cube (Cube)

Figure 1-12

-sphere (Sphere)

Figure 1-13

-capsule Capsules

Figure 1-14

-cylinder (Cylinder)

Figure 1-15

-plane (floor) No height

Figure 1-16

-quad (wall) No thickness

Figure 1-17

Figure 1-18

Display Object grid

Figure 1-19

Grids: meshes are made of triangles

Figure 1-20

Unity3d There is no circle concept, we see the circle is broken down by a number of triangles. Spelled out by infinitely many, infinitely small triangles.

Figure 1-21

Any object is rendered by a triangle, the more triangles, the more realistic the object, but will affect the speed of operation, making the game become very card.

Basic constituent elements

-gameobject (Game object)

-component (component)

-material (render material)

-texture (Rendering principle)

Built-in 3D object-unity3d game development Training

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.