Touch vibration in unity(C#)?
Hi,
I just keep crashing my game trying out different ways to enable touch vibration, does anyone know how to do it correctly in Unity 5?
Start() HapticsClip = new OVRHapticsClip(VibeClip);
RHit() OVRHaptics.RightChannel.Preempt(HapticsClip);
^ In this example VibeClip is less than a second long audio clip
^This crashes unity. so does trying
OVRHaptics.Channels[1].Mix(new OVRHapticsClip(VibeClip));
I just keep crashing my game trying out different ways to enable touch vibration, does anyone know how to do it correctly in Unity 5?
Start() HapticsClip = new OVRHapticsClip(VibeClip);
RHit() OVRHaptics.RightChannel.Preempt(HapticsClip);
^ In this example VibeClip is less than a second long audio clip
^This crashes unity. so does trying
OVRHaptics.Channels[1].Mix(new OVRHapticsClip(VibeClip));
