- Home /
Question by
Gureen_Ryuu · Sep 22, 2016 at 09:00 AM ·
uiraycastvr
Worldspace Scroll View with Buttons in VR (Gear)
I'm trying to find a way to have a Worldspace Scrollview populated with buttons. When the user swipes up and down, the list will scroll. And when he taps, the button that is currently being looked at by the user will trigger the button event.
How can I have the Raycast (From the center of the camera to where the user is looking) detect the Worldspace UI in a way that a mouse pointer would? I'm having no problem detecting 3D Objects, but when it comes to the UI, especially one with layers like the scroll list with buttons, it becomes quite tricky..
Comment