Author Topic: Box collider not resizing  (Read 4473 times)

dominus85

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 1
  • Posts: 31
    • View Profile
Box collider not resizing
« on: December 12, 2013, 04:51:42 PM »
I have an empty game object that has a UIWidget component and a Box Collider..

If I select auto-resize the box collider won't resize because of line 224 from UIWidget:

public bool isVisible { get { return mIsVisible && mGeom != null && mGeom.hasVertices; } }

If I change to

public bool isVisible { get { return mIsVisible; } }

It will work ok

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: Box collider not resizing
« Reply #1 on: December 13, 2013, 05:17:41 AM »
You're right. I'll get that fixed, thanks!