Forum Discussion
Weitin
7 years agoProtege
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
- WeitinProtegeI 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.
Quick Links
- Horizon Developer Support
- Quest User Forums
- Troubleshooting Forum for problems with a game or app
- Quest Support for problems with your device
Other Meta Support
Related Content
- 8 months ago
- 5 years ago