UFCFS3-30-23D Technologies for the Web Unity Interface Features.

Post on 13-Jan-2016

219 views 0 download

Transcript of UFCFS3-30-23D Technologies for the Web Unity Interface Features.

UFCFS3-30-23D Technologies for the Web

3D Technologies for the Web

Unity Interface Features

UFCFS3-30-23D Technologies for the Web

Agenda

Layout OptionsPerspective v Isometric 3D ViewpointsOrthographic ViewpointsTechniques for Scene Navigation and Object PlacementHiding or Removing Objects from the Scene ViewTerrain Height DetailsScene and Project Details

UFCFS3-30-23D Technologies for the Web

Window Arrangements Using Layouts

Unity Interface Features

UFCFS3-30-23D Technologies for the Web

Layouts

Unity provides for various viewport arrangements called Layouts

The Default Layout

UFCFS3-30-23D Technologies for the Web

Layouts

Change Layouts from Window – Layouts , you can also create and save custom layouts

2 x 3 Layout

UFCFS3-30-23D Technologies for the Web

Perspective v Isometric 3D Viewpoints

Unity Interface Features

UFCFS3-30-23D Technologies for the Web

Perspective 3D Viewing

The Red Cube is displayed in perspective in the Scene Window below

UFCFS3-30-23D Technologies for the Web

Perspective 3D Viewing

The Red Cube is displayed in perspective in the Scene Window below

Not easy to place or position objects accurately in this viewing mode

‘Gizmo’

UFCFS3-30-23D Technologies for the Web

Isometric 3D Viewing

The Red Cube is displayed in isometric in the Scene Window below

UFCFS3-30-23D Technologies for the Web

Isometric 3D Viewing

Easier to place or position objects than in perspective viewing mode

UFCFS3-30-23D Technologies for the Web

Orthographic Viewpoints

Unity Interface Features

UFCFS3-30-23D Technologies for the Web

Orthographic Viewpoints

The Red Cube is displayed in an orthographic view in the Scene Window below

Much easier to place or position objects than in perspective or isometric viewing mode

UFCFS3-30-23D Technologies for the Web

Orthographic Viewpoints

The Red Cube is displayed in an orthographic view from the top after selecting the Y gizmo

This is the best viewpoint to use when initially adding or positioning objects in the scene

Top

UFCFS3-30-23D Technologies for the Web

Scene Navigation and Object Positioning

Unity Interface Features

UFCFS3-30-23D Technologies for the Web

Scene Navigation

Use the orthographic viewpoints – especially Y (Top View) and X (Right View) via the gizmos to view or position objects where required

Select the object to view in the Hierarchy Window and press F on the keyboard to ‘frame’ the object in the Scene Window

For absolute positioning use the objects Transform Position x, y, x coordinates in the Inspector Window

Tumble in the Scene View using Alt + LMB Track use MMB Zoom use Alt + RMB or Mouse Wheel

UFCFS3-30-23D Technologies for the Web

Object Transformation

To Translate (move) , Rotate, or Scale objects use keyboard shortcuts to display the associated transform gizmo

W Translate E Rotate R Scale Then drag the object as required using the mouse and view via keyboard shortcuts as mentioned

Unity Navigation and Object Positioning is very similar to Maya

UFCFS3-30-23D Technologies for the Web

Selected ObjectThe Red Cube is selected in the Hierarchy the press W to reveal Translate gizmo and object properties in the Inspector Window

UFCFS3-30-23D Technologies for the Web

Rotate Object + E

UFCFS3-30-23D Technologies for the Web

Scale Object + R

UFCFS3-30-23D Technologies for the Web

Inspector Window

Material ‘Asset’ was created with red hue select. Red Material then added to object to provide object’s colour.

UFCFS3-30-23D Technologies for the Web

Motion Under Gravity (Physics)

Top

Side

Game

Object looks to be positioned in Top and Side view OK but is shown below hilly terrain in game view

Object now over flat terrain

UFCFS3-30-23D Technologies for the Web

Hiding or Removing Objects from the Scene View

Unity Interface Features

UFCFS3-30-23D Technologies for the Web

Select ObjectThe Red Cube is selected in the Hierarchy to reveal transform gizmo and properties in the Inspector Window

UFCFS3-30-23D Technologies for the Web

Hide Object

Uncheck Mesh Renderer to hide object in the Scene

UFCFS3-30-23D Technologies for the Web

Hide ObjectThe Red Cube is hidden in the Scene View but will still be included in the runtime system.

UFCFS3-30-23D Technologies for the Web

Remove Object

Uncheck Object Name (Cube) to remove the object in the Scene View and Runtime System

UFCFS3-30-23D Technologies for the Web

Remove ObjectThe Red Cube is removed in the Scene View and will not be included in the runtime system.

UFCFS3-30-23D Technologies for the Web

Terrain Height Details

Unity Interface Features

UFCFS3-30-23D Technologies for the Web

Terrain Properties

After creating a new Terrain, select the Terrain and then select the Paint Height button to reveal the Height Properties Window

UFCFS3-30-23D Technologies for the Web

Terrain Properties

Set the Height to 30 and press Flatten

UFCFS3-30-23D Technologies for the Web

Terrain HeightBy adjusting the Terrain height then flattening, the terrain can be inversely sculpted to achieve a downward topology.

UFCFS3-30-23D Technologies for the Web

Land to Water With water effects added the inverse topology gives a natural land-water boundary.

UFCFS3-30-23D Technologies for the Web

Scene and Project Details

Unity Interface Features

UFCFS3-30-23D Technologies for the Web

Scene and Project Details

Scenes must be saved before you close the Project If the system is in Play Mode any adjustments or changes

you make will not be recorded. You must make changes when Play Mode is OFF If when opening an existing project you are unable to find your

Scene, select the Assets Folder in the Project Window

UFCFS3-30-23D Technologies for the Web

Saved SceneSelect the Assets Folder to show the Scenes in the Project

UFCFS3-30-23D Technologies for the Web

Saving Scenes and Projects

Unity saves the current scene as an internal asset. And external assets that have been added to the project will be

saved when the project is closed It’s good practice to save the project when you successfully

import a new asset to ensure the project can be recovered along with any new asset after a system error.

To show the Open Project Dialogue Box, hold down the Alt Key when launching Unity

This is an excellent forum for finding out more about Unity 3D http://answers.unity3d.com