cancel
Showing results for 
Search instead for 
Did you mean: 

How Can I GetDown RIndexTrigger On Oculus Quest?

blic_J
Honored Guest
Hello~ XD
I want to use Trigger Button On Oculus Quest Controller!
but I dont know use button Trigger Aation.

I used Anything OVRInput API.
ex)
- OVRInput.GetDown(OVRInput.RawButton.LIndexTrigger)
- OVRInput.GetDown(OVRInput.RawButton.RIndexTrigger)
- OVRInput.GetDown(OVRInput.Button.PrimaryIndexTrigger)
- OVRInput.GetDown(OVRInput.Button.SecondaryIndexTriger)
... etc

Can I share TriggerAction On Quest? Thank you everything.

3 REPLIES 3

mattbenic
Protege
Are you managing to get any other input, or is it just the right trigger you're struggling with? There are posts on this forum dealing with missing input since the latest system update, and instructions on fixing them through the android manifest.
Long shot, but I ran into the issue that if you create an OVR rig, and then destroy it and create another one (like having a destructive singleton version in each scene), OVRInput will no longer work.

mmchickenshack
Protege
if (OVRInput.Get(OVRInput.Button.PrimaryIndexTrigger))
{
}
 works for me.

  • Get() queries the current state of a control.
  • GetDown() queries if a control was pressed this frame.

blic_J
Honored Guest
Thank you!!   my mistake X(
I didnt typing while(true)'
Let' develop!!   Thanks everyone!