Forum Discussion
Anonymous
7 years agoOVRInput Button rift controllers gives no result (unity versions 2017 & 2018, OS Windows 10)
Hi. The input methods for the rift contoller buttons in unity (versions 2018.4.1f1, 2018.3.7f1, 2017.4.27f1) don't seem to work. OVRInput.Get(OVRInput.Button.One) and similar give no result (or alw...
Peecha
7 years agoExplorer
I also have issues with the touch controllers.
Simple scene with basic setup... OVRCameraRig, OVRManager and OVRInputModule...
World canvas with buttons and the controllers don't trigger OnClick events.
With Event Trigger on the button, i can get them to trigger (only) PointerEnter and PointerExit events.
I am currently using those events to check if i am pointing at the button and then in Update i wait for OVRInput.Get(OVRInput.Button.PrimaryIndexTrigger).
Surely this workaround isn't the proper way of doing this or is it?
:D
Have you figured where is the problem?
Simple scene with basic setup... OVRCameraRig, OVRManager and OVRInputModule...
World canvas with buttons and the controllers don't trigger OnClick events.
With Event Trigger on the button, i can get them to trigger (only) PointerEnter and PointerExit events.
I am currently using those events to check if i am pointing at the button and then in Update i wait for OVRInput.Get(OVRInput.Button.PrimaryIndexTrigger).
Surely this workaround isn't the proper way of doing this or is it?
:D Have you figured where is the problem?
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
- 2 years ago
- 5 years ago