Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

Z should be up

Discussion in 'General Discussion' started by CaoMengde777, Mar 7, 2015.

Thread Status:
Not open for further replies.
  1. CaoMengde777

    CaoMengde777

    Joined:
    Nov 5, 2013
    Posts:
    813
    okay.. . so ive spent like .. i dunno.. 5000 hours of my life where Z is up... (probably more.. pretty much ONLY thing ive done with my life is work on computers, and until Unity Z has always been up)

    >>> Z should be up. <<<

    the sky is blue, 1+1 = 2, dogs say bark, cats say meow, and Z is up.
    it is absolutely AGGRAVATING to me that Y is up...
    i try to get used to it, but my brain says no ... lol

    and its suuper annoying to import stuff from blender... none of the scripts that supposedly fix it work either..
     
    Techsoup, Socrates and 121 like this.
  2. zombiegorilla

    zombiegorilla

    Moderator

    Joined:
    May 8, 2012
    Posts:
    8,952
    Click the bake axis checkbox
     
  3. kryptopath2

    kryptopath2

    Joined:
    Jul 19, 2013
    Posts:
    104
    in maya and xsi y is up :)
     
    BrandyStarbrite likes this.
  4. Archania

    Archania

    Joined:
    Aug 27, 2010
    Posts:
    1,662
    In Autocad I can make any axis up.
    And you think "1+1=2".
     
    BrandyStarbrite likes this.
  5. Eric5h5

    Eric5h5

    Volunteer Moderator Moderator

    Joined:
    Jul 19, 2006
    Posts:
    32,398
    It makes more sense for Y to be up given the 2D features such as UI.

    --Eric
     
    Nanako, baguwka, Not_Sure and 2 others like this.
  6. Rodolfo-Rubens

    Rodolfo-Rubens

    Joined:
    Nov 17, 2012
    Posts:
    1,196
    true, if z was up, the canvas would be in the floor. :p
     
  7. CaoMengde777

    CaoMengde777

    Joined:
    Nov 5, 2013
    Posts:
    813
    ? in Unity? where? .. i google for it and nothing comes up... in Blender?? .. oh like shift+A .. yeah.. but thats kinda annoying when going thru like 200 meshes

    dont care... Z is up... has been FOR ME for my whole life
    i never used a program where Y is up until unity... thats all i was saying,
    iam aware that some people think Y is up

    i guess its not THAT big of a deal...
    but seriously, my mind is always like WTF!!?? whenever im thinking how to implement something and then im like .,... .. ooohh yeaaahh... Y is up.. wtf!?

    in science Z is up... isnt it...

    i dunno. I NEVER heard of Y being up until unity... its just weird
     
    Last edited: Mar 7, 2015
  8. CaoMengde777

    CaoMengde777

    Joined:
    Nov 5, 2013
    Posts:
    813
    .. i was kinda hoping for a response like

    "well congrats!! in Unity 5 you can now select Z to be up!"
     
    wetcircuit likes this.
  9. Ostwind

    Ostwind

    Joined:
    Mar 22, 2011
    Posts:
    2,804
    In gaming or computer/animation etc Y being up has always been more common and logical. I think the Z up is more science or architectural thing. You can see it yourself in various programs depending what are they made for.
     
  10. Woodlauncher

    Woodlauncher

    Joined:
    Nov 23, 2012
    Posts:
    173
    Did you not take math in school? X is the horizontal axis, Y the vertical axis (up). :)
     
  11. CaoMengde777

    CaoMengde777

    Joined:
    Nov 5, 2013
    Posts:
    813
    in a 2d plane... like a piece of paper

    with a piece of paper, Z then is towards you, which is up, paper doesnt stand on its edge.. it lays on a table
     
  12. CaoMengde777

    CaoMengde777

    Joined:
    Nov 5, 2013
    Posts:
    813
  13. Archania

    Archania

    Joined:
    Aug 27, 2010
    Posts:
    1,662
    Right hand rule
    enough said. :)
     
    Joviex likes this.
  14. CaoMengde777

    CaoMengde777

    Joined:
    Nov 5, 2013
    Posts:
    813
    i guess those people consider paper to be posted on a wall...
    which is unnatural... paper wants to gravitate to lay down...

    LOLS

    ...seriously bugs the crap outta me...
     
  15. Woodlauncher

    Woodlauncher

    Joined:
    Nov 23, 2012
    Posts:
    173
    Whiteboard.
     
    Nanako and GibTreaty like this.
  16. CaoMengde777

    CaoMengde777

    Joined:
    Nov 5, 2013
    Posts:
    813
    X 1dimension ... Y 2 dimension .. Z 3 dimension..

    what does 2 dimensions represent? .. flat..
    end of discussion

    now... how to make Unity natively use Z as up?
    would i have to buy the source code? ...
     
    Last edited: Mar 7, 2015
    Woodlauncher likes this.
  17. zombiegorilla

    zombiegorilla

    Moderator

    Joined:
    May 8, 2012
    Posts:
    8,952
    In blender. Export -> y up -> bake
     
    randomperson42 and Ryiah like this.
  18. Eric5h5

    Eric5h5

    Volunteer Moderator Moderator

    Joined:
    Jul 19, 2006
    Posts:
    32,398
    You can't, so you might as well put the energy that you're currently putting into being bugged by it into getting used to it. Far more productive.

    --Eric
     
  19. Rodolfo-Rubens

    Rodolfo-Rubens

    Joined:
    Nov 17, 2012
    Posts:
    1,196
    Where is ISO when we need them?
     
  20. Tomnnn

    Tomnnn

    Joined:
    May 23, 2013
    Posts:
    4,148
    In math class I learned the x is right, y is up and z is forward. This was probably like 5th grade. Where did you learn that z is up?
     
    ogike and darkhog like this.
  21. Stardog

    Stardog

    Joined:
    Jun 28, 2010
    Posts:
    1,886
    Why is it annoying when importing from Blender? Unity imports .blend files directly and there is no issue.

    Z is obviously what gives you depth, so should be the forward direction instead of up.
     
  22. CaoMengde777

    CaoMengde777

    Joined:
    Nov 5, 2013
    Posts:
    813
    weird i was always told z is up

    unity imports blend files to always have -90 rotation on X .. even if i fix it in blender
    i seen some scripts to fix this but i guess they were for like unity 3 ?
     
  23. Tomnnn

    Tomnnn

    Joined:
    May 23, 2013
    Posts:
    4,148
    Was it a math setting or a computer science setting? It's hard to believe either would say Z is up, since the first GUI programming you do is dealing with the inverted Y for screen space - but it's still the vertical axis.

    Curious. Please tell. Maybe too much time in the blender community?
     
  24. CaoMengde777

    CaoMengde777

    Joined:
    Nov 5, 2013
    Posts:
    813
    i dunno .. physics class in HS says Z is up...
    ... never payed attention in any math class lool..

    game map editors, wolfET, cod2, morrowind/oblivion Z was up (i spent a ridiculous amount of time making maps for those games lol)
    and blender z is up

    never took computer science classes... well .. i took electronics classes

    .. yeah Z is depth... which would be stacking paper, which would be up

    i always seen 2d graphs, in which Y is up.. as .. a piece of paper, so Y is.. not height, but forward
    Z is the 3rd dimension (according to alphabet order) .. 3rd dimension is up.. since 2 dimensions is flat, and flat means parallel with earth's ground..
     
    Last edited: Mar 7, 2015
  25. Tomnnn

    Tomnnn

    Joined:
    May 23, 2013
    Posts:
    4,148
    Haha oh. Actually, I think I do recall my physics teacher saying z is up... Pointer finger forward, middle finger points inward (left), thumb points upward. Thumb is Z.
     
  26. Ostwind

    Ostwind

    Joined:
    Mar 22, 2011
    Posts:
    2,804
    Unreal Engine is Z up so it explains most of your experiences. Maya, Cinema4D, XNA etc have Y up for example.
     
  27. CaoMengde777

    CaoMengde777

    Joined:
    Nov 5, 2013
    Posts:
    813
    quake engine... and whatever morrowind is... i guess bethesda's own engine?
     
  28. Eric5h5

    Eric5h5

    Volunteer Moderator Moderator

    Joined:
    Jul 19, 2006
    Posts:
    32,398
    By now it should be obvious that whatever you call up is arbitrary and there is no "right" way. So, clearly the next version of Unity should have X = up. Then everybody would be equally confused.

    Now start arguing about right-handed vs. left-handed coordinate systems.

    --Eric
     
  29. CaoMengde777

    CaoMengde777

    Joined:
    Nov 5, 2013
    Posts:
    813
    lol yeah idk... i just needed to complain about it i guess :p

    likewise i never seen this syntax until Unity
    Code (CSharp):
    1. Start(){
    2.    //do stuff
    3. }

    i always seen this
    Code (CSharp):
    1. Start()
    2. {
    3.   //do stuff
    4. }
    and comments go here:
    Code (CSharp):
    1. if(stuff)
    2. {
    3.      stuff                     //comment
    4. }
    not here

    Code (CSharp):
    1. //comment
    2. if ( stuff)
    3. {
    4.  
    5. }
     
    Last edited: Mar 7, 2015
  30. Deleted User

    Deleted User

    Guest

    In Maya you can select what is up..! :)
     
  31. darkhog

    darkhog

    Joined:
    Dec 4, 2012
    Posts:
    2,218
    Unity, Y are you allowing for thread like Z's (for this to work, you must read Z like Canadian).
     
  32. Tomnnn

    Tomnnn

    Joined:
    May 23, 2013
    Posts:
    4,148
    Do you really want to put hippocoder through that?

    @CaoMengde777 that weird indent thing doesn't happen automatically in monodevelop for Mac, only windows. I'm sure there's a way to change it, but it is interesting that it's on windows by default. Maybe that's an assumption UT made based on indenting of other windows editors.

    As for the comment thing, the comment above the function is reserved for ///. Check it out ;)

    Z, eh? I don't get it..

    Definitely a step in the right direction... but can I rename the axis? I want left and right to be the A axis, up and down to be the M axis and forward and back to be the Q axis.
     
  33. darkhog

    darkhog

    Joined:
    Dec 4, 2012
    Posts:
    2,218
  34. Tomnnn

    Tomnnn

    Joined:
    May 23, 2013
    Posts:
    4,148
    Haha wow, the canadian voice actors are even more lifeless than the american ones. That's impressive! And of course, Japan remains #1.
     
  35. ChipMan

    ChipMan

    Joined:
    Mar 4, 2015
    Posts:
    122
    LOL. remember the "Left thumb rule" ?
     
  36. Tomnnn

    Tomnnn

    Joined:
    May 23, 2013
    Posts:
    4,148
    Is that the magnetic field thing I'm trying to remember?
     
  37. Pix10

    Pix10

    Joined:
    Jul 21, 2012
    Posts:
    850
    They don't call it Y-Depth, for a reason :)

    Anyway I spent thousands of hours of my childhood thinking F was up, as my dad was always shouting at the news "That's F'd up!".
     
    Tomnnn likes this.
  38. CaoMengde777

    CaoMengde777

    Joined:
    Nov 5, 2013
    Posts:
    813
    depth is down, like down a hole... measure of water on the (Y in unity) Z axis
    width is what Y should be... but Z is in unity

    and no... like i said, ive NEVER heard of Y being up/down axis until Unity.. lol

    but now at least i get it its "photographer axis"
    wtf! F photographers!! .. its not hard to do, anyone can be a photographer, you just press the shutter button >< .. idiots!!! (lol i know theres a little more to it, its a joke :p)

    lol yeah the only left thumb rule i know of is for electric motors/electromagnetism
     
    Last edited: Mar 8, 2015
  39. Eric5h5

    Eric5h5

    Volunteer Moderator Moderator

    Joined:
    Jul 19, 2006
    Posts:
    32,398
    People have already named a bunch of apps that use Y up. It's far from just Unity. OpenGL itself uses Y up; this page claims that "most" 3D systems use the same. (Although OpenGL is right-handed and Unity is left-handed.)

    --Eric
     
  40. CaoMengde777

    CaoMengde777

    Joined:
    Nov 5, 2013
    Posts:
    813
    lol on those pictures, i still see Z to be up lols

    because, the computer monitor is equal to earths ground... since the computer monitor is a plane
     
  41. Eric5h5

    Eric5h5

    Volunteer Moderator Moderator

    Joined:
    Jul 19, 2006
    Posts:
    32,398
    Well, clearly you need to get over it and deal with the real world. ;)

    --Eric
     
    Deon-Cadme likes this.
  42. CaoMengde777

    CaoMengde777

    Joined:
    Nov 5, 2013
    Posts:
    813
    well theyre Fking wrong,
    but yeah its not really a huge deal

    still annoying how wrong they are lol
     
  43. Eric5h5

    Eric5h5

    Volunteer Moderator Moderator

    Joined:
    Jul 19, 2006
    Posts:
    32,398
    Make a sound file that says "Y is up" and play it on a loop while you're sleeping. I guarantee that within two weeks, you will want to go out and punch the "Z is up" infidels.

    --Eric
     
    Deon-Cadme and Devil_Inside like this.
  44. Tomnnn

    Tomnnn

    Joined:
    May 23, 2013
    Posts:
    4,148
    It is actually physically impossible to deny that y is up in the english language.

    Yup. --> phrase for agreement
    y-up --> breakdown of phrase into composition

    Example:

    person 1:"Do you think the y axis is up?"
    person 2:"Nope."
    person 1:"Are you sure?"
    person 2:"Yup." (y-up) perceived as correction and association of y with the vertical directions
    person 1:"I thought so."
     
    Devil_Inside likes this.
  45. N1warhead

    N1warhead

    Joined:
    Mar 12, 2014
    Posts:
    3,884
    hell when i came to Unity, I was used to Z as well being up because of using 3ds max. That's all I've ever really used growing up, never seen anything different until I hit Unity. It had me all messed up lol. But I still all the time forget to change pivots LOL. I usually remember after I've animated a character, then I'm like F**K!!! lol.

    But I'm getting more used to it now lol.
     
  46. ChipMan

    ChipMan

    Joined:
    Mar 4, 2015
    Posts:
    122
    No, depth is the length of an object, so.

    |---width---| X
    -
    |
    | height Y
    |
    -


    /
    / depth Z
    /
     
  47. ChipMan

    ChipMan

    Joined:
    Mar 4, 2015
    Posts:
    122
    I mean unity uses the "Left Hand Rule".
     
  48. ChipMan

    ChipMan

    Joined:
    Mar 4, 2015
    Posts:
    122
  49. ChipMan

    ChipMan

    Joined:
    Mar 4, 2015
    Posts:
    122
    skip to 3.24
     
  50. CaoMengde777

    CaoMengde777

    Joined:
    Nov 5, 2013
    Posts:
    813
Thread Status:
Not open for further replies.