Forum Discussion

🚨 This forum is archived and read-only. To submit a forum post, please visit our new Developer Forum. 🚨
avivXR's avatar
avivXR
Protege
10 months ago

UI ray interactor has no pointer

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

1 Reply

Replies have been turned off for this discussion
  • 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)