Forum Discussion
Marc201
6 years agoExplorer
Oculus Quest OVRInput - no stable reaction on Thumb or Index Trigger
Code below: I want to use the position of the joystick or secondaryindextrigger. To check its value i placed it in a Text field of a canvas.
But the value is always Zero. Only very seldom it is functioning an the value from 0 to 1 is showing up for the e.g. the index.trigger.
If i use the buttons, all is ok.
I tried to make a little wait for 1 sec after the command... no influence.
(just to make clear: The OvrCameraRig, OvrInputModule, OVRGazePointer, Canvas with OvrRaycaster all is used).
public class ovrInputTest : MonoBehaviour
{
public Text text;
void Update()
{
text.text = "Hand" + OVRInput.Get(OVRInput.Axis1D.SecondaryIndexTrigger).ToString();
}
{
public Text text;
void Update()
{
text.text = "Hand" + OVRInput.Get(OVRInput.Axis1D.SecondaryIndexTrigger).ToString();
}
No RepliesBe the first to reply
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
- 10 months ago
- 4 years ago