Forum Discussion
Gnimmel
9 years agoExplorer
OVRInput.GetDown not working on Touch controllers in unity?
I am having a hard time getting the buttons to work reliably on the oculus touch controllers in unity.
If I use if OVRInput.GetDown it never seems to work, but using OVRInput.Get works all the time?
I wasn't sure if it was something to do with OVRInput.Update (); and I've tried adding it to 1 script and all the scripts that detect input but both ways give the same results, .GetDown will not work, but .Get will?
Is there a step I'm missing?
If I use if OVRInput.GetDown it never seems to work, but using OVRInput.Get works all the time?
I wasn't sure if it was something to do with OVRInput.Update (); and I've tried adding it to 1 script and all the scripts that detect input but both ways give the same results, .GetDown will not work, but .Get will?
Is there a step I'm missing?
24 Replies
Replies have been turned off for this discussion
- artman41Honored GuestI can also confirm this issue. Currently on Unity 2017.1.0f3 with the latest oculus sdk (from the unity store).
OVRInput.GetUp() and OVRInput.GetDown() always return false, with OVRInput.Get() being the only way of detecting if a key is down.
I can post a copy of my project if you wish to take a look. - LivingValkyrieHonored Guesthas there been any news on this? im also having the same problem, ive spent over two hours this morning testing with different sdk versions and unity version combinations and still no luck
- TheDigitalNinja2Honored GuestStill happening.
- gb3724Honored GuestHi any further update or fix to this? Happening to me as well. Thanks.
- Chimer0sExplorerStill happening as of May 2019 with Unity 2018.4, been persistent on all versions I've tried as well.
- mogacreativeExplorer
Gnimmel said:
I am having a hard time getting the buttons to work reliably on the oculus touch controllers in unity.
If I use if OVRInput.GetDown it never seems to work, but using OVRInput.Get works all the time?
I wasn't sure if it was something to do with OVRInput.Update (); and I've tried adding it to 1 script and all the scripts that detect input but both ways give the same results, .GetDown will not work, but .Get will?
Is there a step I'm missing?
if (OVRInput.GetDown(OVRInput.Button.Two))
{
DoWhateverYouWant();
} - BaseDropHonored GuestStill happening as of December 2019 with Unity 2019.3.0b7
- AnonymousSame issue here. And also in the Unity Input Debugger, only position/rotations things are working. No Button ;/
- Anonymousfunny: with the Quest via Link, all works fine. But with a Rift not
- sivandan2000Honored GuestStill happening in 2019.5f1. I cant seem to find the problem.. Any workaround?
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