Oculus Touch vibrations does not work...
In the past few days, I have tried to implement Oculus Touch vibrations.
However, neither Haptics nor SetControllerVibration responds at all.
I do not know what the problem is. It's part of my code.
Haptics: private void Start ()
{
clip = new OVRHapticsClip (VibeClip, 0);
}
void Update () {
if (Input.GetKeyDown (KeyCode.Space))
{
OVRHaptics.Channels [0] .Queue (clip);
OVRHaptics.Channels [0] .Mix (clip);
// GetComponent <AudioSource> (). Play ();
} }
.SetControllerVibration:
void Update () {
OVRInput.SetControllerVibration (.3f, 0.3f, OVRInput.Controller.All);
}
Please help me.
However, neither Haptics nor SetControllerVibration responds at all.
I do not know what the problem is. It's part of my code.
Haptics: private void Start ()
{
clip = new OVRHapticsClip (VibeClip, 0);
}
void Update () {
if (Input.GetKeyDown (KeyCode.Space))
{
OVRHaptics.Channels [0] .Queue (clip);
OVRHaptics.Channels [0] .Mix (clip);
// GetComponent <AudioSource> (). Play ();
} }
.SetControllerVibration:
void Update () {
OVRInput.SetControllerVibration (.3f, 0.3f, OVRInput.Controller.All);
}
Please help me.
