Author Topic: Auto adjust to match with transparency  (Read 4175 times)

Chris_E

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 1
  • Posts: 37
    • View Profile
Auto adjust to match with transparency
« on: January 09, 2014, 01:39:56 AM »
I love the auto adjust to match, but when my sprite has transparency the original attach works exactly how I'd expect (ignoring the transparency) but with auto-adjust it includes all of the transparency.  Is there a way to make it ignore the transparency and make it more like the "attach -> collider" button?

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: Auto adjust to match with transparency
« Reply #1 on: January 09, 2014, 07:24:11 PM »
Both should be going through the same code, and should include the cut pixels in the box calculations. The white outline around the sprite = original uncut texture's dimensions = box collider's dimensions. If that's not what happens, then I will need to look into this when I return from vacation.