Tasharen Entertainment Forum

Support => NGUI 3 Support => Topic started by: J. Park on July 05, 2012, 02:35:22 PM

Title: A collider outside UICamera blocks input
Post by: J. Park on July 05, 2012, 02:35:22 PM
Here attached a screenshot.

A red object is a button. A blue object is a UISprite with a collider outside UICamera.
In that situation, the red button doesn't receive any input (click, rollover...).

Title: Re: A collider outside UICamera blocks input
Post by: PhilipC on July 05, 2012, 03:01:20 PM
Could you send an example package to support at tasharen.com and philipc at tasharen.com and i'll take a look when i can as i dont know why this would be happening.
Title: Re: A collider outside UICamera blocks input
Post by: ArenMook on July 05, 2012, 06:24:41 PM
I don't actually see a collider on the blue box. There is no lime green outline, implying no collider.
Title: Re: A collider outside UICamera blocks input
Post by: J. Park on July 06, 2012, 12:02:21 AM
It was because that size of collider was multiplied by localScale of UISprite.
The collider got huge size..
I forgot size of widget is localScale... I fixed it.

Thanks