Skip to main content
May 31, 2019

OVR Button Input isn't returning true but pressing key on keyboard for the same bool is.

        if (OVRInput.GetDown(OVRInput.Button.One) || Input.GetKeyDown(KeyCode.X))
        {
            if (isGrounded == true)
            {
                Debug.Log("Jump!");
                ovrPlayerController.Jump();
            }
        }

X works every time but if I press button One, it only works sometimes and I can't figure out why.

    1 reply

    May 31, 2019
    Well it works when I remove || and the x key altogether. Hmmm.