02-11-2025 01:44 AM
I trying to work with the OVR Interaction Comprehensive. I only need a ray interactor to interact with my UI (maybe also Poke).
I disabled most of the interactions (grab, locomotion, etc) and the UI works (sort of).
The app is not showing the "laser pointer" round marker so it is hard to detect where I am pointing in the UI.
What am I missing?
Thanks
Aviv
02-18-2025 10:42 AM
i usually use OVRCameraRigInteraction prefabs from package as a Player.
to setup a UI interaction I add Pointable Canvas Module component on EventSystem Game object:
on Canvas, I add Pointable Canvas component and Ray Interactable:
and this is how I make a UI Collider Surface (green outline):
adjust your collider as big as your UI, and it have to be thin (I usually put 0.1 to 0.2 Z size/scale), and then drag and drop the collider surface game object to Surface column (the green outlined).
for the Select Surface column, I use a Plane Surface component:
this setup works fine on me. hope my setup help (sorry for bad English)