Forum Discussion
Anonymous
8 years agoOculus 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.
Replies have been turned off for this discussion
Quick Links
- Horizon Developer Support
- Quest User Forums
- Troubleshooting Forum for problems with a game or app
- Quest Support for problems with your device
Other Meta Support
Related Content
- 3 days ago