Difference between revisions of "Unity3d"
From John Freier
m (→Camera) |
|||
| Line 1: | Line 1: | ||
Unity 3D | Unity 3D | ||
| + | |||
| + | == Scripting == | ||
| + | ===Transform=== | ||
| + | To use movement without physics use Transform.translate(); | ||
| + | Transform.Translate() | ||
| + | |||
| + | http://docs.unity3d.com/Documentation/ScriptReference/Transform.Translate.html | ||
| + | |||
Revision as of 13:36, 21 March 2013
Unity 3D
Scripting
Transform
To use movement without physics use Transform.translate();
Transform.Translate()
http://docs.unity3d.com/Documentation/ScriptReference/Transform.Translate.html
2D Information
Camera
Change camera mode for Projection from Perspective(2 eye camera, so the sides will show) to Orthographic (1 eye camera).
Complete 2D View
Reference http://docs.unity3d.com/Documentation/Components/class-Camera.html
YouTube Videos
Unity 2D Game Tutorial - Part 1 Sprites and You. http://www.youtube.com/watch?v=DZucUpZtg2U