Search Unity

Completely confused on the coordinates of Unity. Specifically 2d coordinates..

Discussion in 'Editor & General Support' started by tpainton, Oct 30, 2014.

  1. tpainton

    tpainton

    Joined:
    Jun 4, 2014
    Posts:
    16
    This is just confusing. Per the gui Guide. Coordinates are 0,0 starting at the top Left of the screen. This would mean that y increases as we move down the screen. Yet, when I move my Rect down the screen, yMax decreases. Per the gui guide, yMax represents the bottom of Rect, and indeed if moving down the screen results in higher y values this makes sense.. Then why they heck is yMax decreasing in value as Rect is moved down the screen?

    I'm sorry, but the coordinate system can't be consistent. WTH am I missing???
     
  2. tpainton

    tpainton

    Joined:
    Jun 4, 2014
    Posts:
    16
    After an hour of searching.. I have come to learn the gui coordinates are completely different than the coordinates used for the screen. Sigh. This, without a doubt is the most confusing aspect of this system that I have encountered since picking it up 6 months ago. The coordinates should all be the same and not require a conversion.