Forum Discussion

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

How Can I GetDown RIndexTrigger On Oculus Quest?

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

  • 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.
  • 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.
  • Day1332's avatar
    Day1332
    Honored Guest
    Thank you!!   my mistake X(
    I didnt typing while(true)'
    Let' develop!!   Thanks everyone!