Coder Social home page Coder Social logo

unity_tut's Introduction

Unity tutorial

1. Inspector - Some components

Transform

  • transform settings

MeshFilter

  • renders something different than default mesh

MeshRenderer

  • settings for that render (texture,light...)

BoxColider

  • collision settings

2. Materials

  • Create subfolders in Assets folder

  • create some materials (RC -> new material)

  • drag it to some model

      MeshRenderer -> Materials -> Element 0 is now this material
    

3. Navigation

  • ALT + LEFT MOUSE : rotate around
  • SHIFT + MIDDLE MOUSE : pan around
  • MOUSE WHEEL : zoom
  • SELECT OBJ + F : focus on object
  • SELECT OBJ + CTRL + D : copy object
  • CTRL + slide : snap object movement
  • ALT + click on element in high. : hide/expand children

4. Hierarchy

  • PICK B -> DROP ON A : A is parent of B

      You can now move B (child) independently, but not A.
      B is shown in inspector IN RELATIVE POSITION to parent.
    

5. Prefabs

  • Create subfolder Prefabs

  • PICK A -> DROP IN FOLDER : A is now PREFAB

      In hierarchy, that object is now blue (prefab).
    
  • PICK prefab -> DROP TO SCENE : new objects are now new prefabs

Organization

  • Create empty object for your prefabs (put position to 000)

Editing prefabs (double click prefab)

  • remove unnecessary Box Coliders from children

Overriding:

  • if you change something on a prefab instance, it will turn bold. Right click for revert/apply to all instances
  • on parent -> Overrides it shows list of all overrides

6. Add player & physics

  • create capsule
  • Add component -> RigidBody

unity_tut's People

Contributors

aeoden96 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.