Author Topic: Scrolling Panel scaling issue  (Read 3284 times)

Jason

  • Guest
Scrolling Panel scaling issue
« on: May 06, 2012, 08:28:30 AM »
Good morning! (Am I the first trouble maker of the day? :)

With Aren's help I was able to implement scaling using clipped panels. Many thanks again, ArenMook!

However, I encountered another complication: scaling applied on the clipped plane produced unexpected results. I only stretched the panel horizontally a little, and the clip box seemed to have shifted a lot. The worst part is that the contents of the entire panel are no longer clipped properly. Rather, they appear/disappear as one unit.

Is it just me (again)?

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: Scrolling Panel scaling issue
« Reply #1 on: May 06, 2012, 08:59:06 AM »
You need to scale uniformly -- that is, X, Y and Z all must have the same value. I won't get into a lengthy explanation (and my own bitchin' on the issue from 3 years ago), but this is a problem with how Unity combines its scale components.

Jason

  • Guest
Re: Scrolling Panel scaling issue
« Reply #2 on: May 06, 2012, 09:08:05 AM »
I see. How strange! I wonder which Linear Algebra textbook the Unity team used ...

Thanks again!