Author Topic: [FIXED] NGUI Vuforia Button on target  (Read 1176 times)

yo_milo

  • Newbie
  • *
  • Thank You
  • -Given: 10
  • -Receive: 2
  • Posts: 36
    • View Profile
[FIXED] NGUI Vuforia Button on target
« on: February 26, 2015, 06:12:19 PM »
EDIT:I kept working on it, and I did reset my hierarchy kind of like in the picture, and the touch input did work. I was wondering, how do you guys set up your 3D GUIs with Vuforia?

EDIT 2: I Uploaded my hierarchy so you can see how I did it. I had to rotate my UIRoot (the script is disabled, thou).


This is kind of a follow up to this thread:
http://www.tasharen.com/forum/index.php?topic=5825.0

I am trying to do a Vuforia Target with NGUI buttons, so I can interact with those objects.

As you can see, I attached my hierarchy.
I have a 3D GUI inside of my Target object, but the GUI has the root (which resizes) disabled.
My GUI camera is childed to the ARCamera, and it has the "http://www.tasharen.com/forum/index.php?action=dlattach;topic=5825.0;attach=2677CopyProjectionMatrix.cs" script attached to it, pointing to the ARCamera.

The GUI detects the mouse hover, and it moves along the target rotation; however, it does not detect on click, any of you have any idea why?
« Last Edit: February 26, 2015, 06:37:13 PM by yo_milo »