Author Topic: A collider outside UICamera blocks input  (Read 4418 times)

J. Park

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 28
    • View Profile
A collider outside UICamera blocks input
« 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...).

« Last Edit: July 05, 2012, 02:43:52 PM by J. Park »

PhilipC

  • Guest
Re: A collider outside UICamera blocks input
« Reply #1 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.
« Last Edit: July 05, 2012, 06:24:57 PM by ArenMook »

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: A collider outside UICamera blocks input
« Reply #2 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.

J. Park

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 28
    • View Profile
Re: A collider outside UICamera blocks input
« Reply #3 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
« Last Edit: July 06, 2012, 12:07:02 AM by J. Park »