Author Topic: Collision on object behind GUI  (Read 2926 times)

roberto_sc

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 25
    • View Profile
Collision on object behind GUI
« on: June 20, 2013, 01:47:25 PM »
Very sorry for the total noob question but I'm trying to evaluate NGUI ASAP to get the sale.
Following the tutorial, I just added a button using the wizard to my current project.
I have a main camera in the same position of NGUI camera, and it's viewing some 3d objects.
When I click the button, it works, but I'm getting a collision on the 3d object behind the button also. Any cues?

roberto_sc

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 25
    • View Profile
Re: Collision on object behind GUI
« Reply #1 on: June 20, 2013, 02:07:18 PM »
I just found the answer here http://www.tasharen.com/forum/index.php?topic=4720.0

Too bad I'm using TouchScript, it seem's that I'll have to change their code to receive NGUI events...

TouchScript handles multi touch to make objects rotate, scale, pan, etc. Do you predict I will have issues with multi touch? That is, does NGUI throw multi touch events?