Author Topic: Collider depth for NGUI 3.0  (Read 2504 times)

soofaloofa

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 27
    • View Profile
Collider depth for NGUI 3.0
« on: September 25, 2013, 04:28:15 PM »
Hi,

Now that depth does not affect the rendering of widgets I'm wondering how box colliders are affected? Does NGUI depth affect which colliders are hit first during a RayCast or is z-depth strictly involved here?

Thanks,

Kevin

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: Collider depth for NGUI 3.0
« Reply #1 on: September 25, 2013, 06:43:25 PM »
Only Z. NGUI's Add Collider option sets the Z for colliders based on the widget's depth.