• SkaveRat@discuss.tchncs.de
    link
    fedilink
    arrow-up
    12
    ·
    edit-2
    2 days ago

    Arbitrary and historical reasons.

    A good overview about why and who: https://ahmetburul.medium.com/coordinate-systems-of-3d-applications-guide-ddfa2194ed88

    Personally, I’m super annoyed that Z is not up. but that’s just me coming from Blender and Unreal. It makes programming 3D games more annoying, imo

    Edit to add: With Godot having its origins in 2D, Z is “into the screen”. and that orientation basically stuck. Why they used negative, I’m not sure

    • TedDallas@programming.dev
      link
      fedilink
      English
      arrow-up
      1
      ·
      edit-2
      2 days ago

      Yeah, while initially writing my terrain generator I thought it weird to have a X,Z grid of tiles. Odd decision for Godot team. But I am used to it now.

    • vintageballs@feddit.org
      link
      fedilink
      Deutsch
      arrow-up
      2
      ·
      edit-2
      2 days ago

      I think especially in 2d, using the negative direction makes sense, as things that are “higher” (closer to the screen) should occlude things that are “lower”. It’s the same in HTML/CSS.