cancel
Showing results for 
Search instead for 
Did you mean: 

Oculus Quest OVRInput - no stable reaction on Thumb or Index Trigger

Marc201
Level 2

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();
        }

Thanks for Help... yours Marc
0 REPLIES 0