09-07-2016 06:24 AM
if (OVRInput.GetDown(OVRInput.Button.PrimaryIndexTrigger))
{
byte[] samples = { 255, 255, 255, 0, 128, 0, 255 };
OVRHapticsClip clip = new OVRHapticsClip(samples, 7);
OVRHaptics.Channels[0].Queue(clip);
OVRHaptics.Channels[1].Queue(clip);
Debug.Log("PrimaryIndexTrigger button pressed");
}
Any help? I even tried using the now somewhat deprecated "SetControllerVibration()", but the controllers still don't vibrate. var hapticsState = OVRPlugin.GetControllerHapticsState(m_controller);
hapticsState.SamplesAvailable and SamplesQueued is always 0. However, m_pendingClips.Count is climbing with every button press. I'm not sure if that is related or not, as I'm so new to the API.09-07-2016 06:52 AM
09-07-2016 08:47 AM
09-07-2016 01:58 PM
Wow, okay, that did it. XD
Hours of debugging, and all I needed to do was put the damn headset on.
Thanks. :s
09-07-2016 06:20 PM
09-07-2016 09:16 PM
10-18-2016 09:11 AM
10-18-2016 10:41 AM
10-18-2016 10:59 AM