Tasharen Entertainment Forum

Support => NGUI 3 Support => Topic started by: soofaloofa on September 25, 2013, 04:28:15 PM

Title: Collider depth for NGUI 3.0
Post by: soofaloofa 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
Title: Re: Collider depth for NGUI 3.0
Post by: ArenMook 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.