cancel
Showing results for 
Search instead for 
Did you mean: 

How to prevent thumbsticks from triggering UI events?

Weitin
Protege
I'm using the trigger for interaction and thumbstick for movement. When my laser is over an interactable object, both the trigger and thumbstick will activate UI events. Is there an Oculus or EventSystems setting for UI events to ignore the thumbstick? I'm going to try checking OVRInput for the thumbstick when the UI event occurs and see if I can return if that's true.
1 REPLY 1

Weitin
Protege
I don't think OVRInput.Get() was returning the values I was looking for in OnPointerEnter (Could be wrong). I set the dragging threshold in OVRInputModule to 0.1 and checked OVRInput.Get() in OnBeginDrag. Works now.