Forum Discussion

🚨 This forum is archived and read-only. To submit a forum post, please visit our new Developer Forum. 🚨
Anonymous's avatar
Anonymous
8 years ago

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.
Replies have been turned off for this discussion