Forum Discussion

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

How to prevent thumbsticks from triggering UI events?

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

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