Author Topic: NGUI- Inverted Pivot  (Read 3425 times)

Chamnana

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 10
    • View Profile
NGUI- Inverted Pivot
« on: December 04, 2012, 08:12:13 AM »
Hello,
I'm new on NGUI, and just when i started the tutorial i found a problem in setting the "Pivot" of any widget: When i set pivot on "top right" it draw it on the "bottom left" corner. On "bottom right" i have "top left" on the screen.... and so on, top is bot and left is right.
does any one have any idea on how to fix it?

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: NGUI- Inverted Pivot
« Reply #1 on: December 04, 2012, 10:28:24 AM »
NGUI isn't backwards. Your understanding of the pivots is. :P

Chamnana

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 10
    • View Profile
Re: NGUI- Inverted Pivot
« Reply #2 on: December 06, 2012, 05:17:55 AM »
So can you explain it to me ? Now that i'm working with NGUI , i found that top left isn't bot right (or i'm just very new at it , so i don't get it).

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: NGUI- Inverted Pivot
« Reply #3 on: December 06, 2012, 05:20:26 AM »
Pivot point is the point that the sprite rotates around. When it's "top-right", it means the top right corner of the sprite is the "origin" point. Rotating the sprite will make it rotate around the top-right corner.

Chamnana

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 10
    • View Profile
Re: NGUI- Inverted Pivot
« Reply #4 on: December 06, 2012, 05:35:49 AM »
Thank you :)