Getting number of current clips in a OVRHapticsChannel
Is there a way to get the number of currently queued clips in the OVRHapticsChannel? I could do it myself by keeping track of the time and the length of samples in there, but I figured it'd be better to check the actual channel but i'm not sure if i can?461Views0likes0CommentsHow do I use OVRHapticsClip?
I'm trying to add haptic feedback to Touch Controllers in my game but I'm completely stuck on how to do that. I've read all the documentation provided by Oculus which recommends several different methods, the most recent of which relies on playing OVRHapticsClips. My problem is that Unity freezes when trying to create any OVRHapticsClip. It doesn't just error, the entire program stops responding the same as when stuck in an infinite loop. Are there any examples of code to play haptic feedback on the Touch controllers? Or is there a limitation on the type of audioclip that can be used to create an OVRHapticsClip?Solved1.2KViews0likes1Comment