05-27-2020 07:54 AM
05-27-2020 02:35 PM
06-21-2020 05:39 AM
07-23-2020 10:15 AM
09-23-2020 06:52 AM
01-08-2021 11:02 AM
Fingerbob said:
var state = OVRPlugin.GetControllerState4((uint)OVRInput.Controller.Hands);bool menu_gesture = (state.Buttons & (uint)OVRInput.RawButton.Start) > 0;
06-14-2021 07:08 AM
Same issue here. Anyone solved it?
06-14-2021 09:20 AM
You can use the same OVRInput.Get* methods get the hand-tracking start button state. One issue is the detection of the gesture isn't 100%. Sometimes you'll have to do the Start gesture a couple times before the GetDown/GetUp events get triggered.
public class HandStartButton : MonoBehaviour
{
// Update is called once per frame
void Update()
{
if (OVRInput.GetDown(OVRInput.Button.Start, OVRInput.Controller.Hands)) {
Debug.LogWarning("Hand-Tracking Start Button DOWN");
}
if (OVRInput.GetUp(OVRInput.Button.Start, OVRInput.Controller.Hands)) {
Debug.LogWarning("Hand-Tracking Start Button UP");
}
}
}
11-10-2021 06:49 AM
Unfortunately, both approaches above didn't work for me (Oculus Integration 33.0), looks like something simple is missed.
12-04-2021 02:33 PM
The above answers don't work for me either, were you able to find a solution for this?