Question by
fefete92 · Feb 28, 2017 at 09:10 PM ·
uiraycastvrraycasting
Trouble Raycasting elements in UI in Oculus
Hello. I have a VR project and I have the next problem. I need to be able to select those items in the canvas by looking at them in Oculus, the problem, is that I can't get them with a raycast. I did a camera for the UI, attached to the center eye anchor, and in the culling mask "nothing" flag and I tried a pair of solutions, but graphic raycaster not an option for me, and I want to get what item I am looking at in the UI. Also, I tried to put a collider in the objects, following unity's VR interaction guide , but seemed to not work.
here is a picture of the actual status of the project and the inspector of the with the ui camera data, in case it helps.
Any help will be appreciated. Thanks to all
sintulocopia.png
(327.1 kB)
Comment