how to implement Oculus touch controller vibration , any example?
I’m also struggling with this as a beginner, since there is almost nothing on the web.
Tried building an array of sample bytes.
Then I read that the recommended ways is to use an audioclip from a sound file.
So I tried this, but still nothing:
OVRHapticsClip haptic = new OVRHapticsClip(audioClip);
OVRHaptics.RightChannel.Preempt(haptic);
Hey, i found the solution, its working for me :
public AudioClip VibeClip;
OVRHaptics.Channels[0].Mix(new OVRHapticsClip(VibeClip));