Search Unity

  1. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Why are you clamping the pivot from 0 to 1?

Discussion in '5.2 Beta' started by Jay-Pavlina, Aug 8, 2015.

  1. Jay-Pavlina

    Jay-Pavlina

    Joined:
    Feb 19, 2012
    Posts:
    195
    In the release notes for 5.2 beta 1, it says that pivots on sprites will be clamped from 0 to 1. Why is that considered an improvement? It's limiting to force the pivot to be on the sprite's defined rectangle.
     
  2. Devil_Inside

    Devil_Inside

    Joined:
    Nov 19, 2012
    Posts:
    1,117
    I don't have the beta yet so I can't test this. Is this really the case? If yes, what's the reasoning behind this change?
     
    deram_scholzara likes this.
  3. Ostwind

    Ostwind

    Joined:
    Mar 22, 2011
    Posts:
    2,804
    I agree it sounds pretty big change at this point of sprite history.
     
    deram_scholzara likes this.
  4. deram_scholzara

    deram_scholzara

    Joined:
    Aug 26, 2005
    Posts:
    1,043
    Yeah... please don't do that. I alwas already annoyed that it was being clamped for UI purposes, it'll be even more annoying for gameplay sprites.
     
  5. ColossalPaul

    ColossalPaul

    Unity Technologies

    Joined:
    May 1, 2013
    Posts:
    174
    Checking... hang tight.....