Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Join us on Thursday, June 8, for a Q&A with Unity's Content Pipeline group here on the forum, and on the Unity Discord, and discuss topics around Content Build, Import Workflows, Asset Database, and Addressables!
    Dismiss Notice

Oculus Touch vibration frequency

Discussion in 'AR/VR (XR) Discussion' started by olejuer, Jan 6, 2020.

  1. olejuer

    olejuer

    Joined:
    Dec 1, 2014
    Posts:
    205
    Hi,

    I am trying to have my Oculus Touch controllers (Oculus Quest) vibrating at a set frequency, because that's fun, right? However, no matter what Input I use for
    Code (CSharp):
    1. OVRInput.SetControllerVibration(float frequency, float amplitude, Controller controllerMask)
    the vibration only depends on the amplitude, not the frequency. There is no difference between zero and one frequency. Is this not supported for the Oculus Quest controllers? Does anyone know?

    Yes, I am aware this is not exactly Unity related but rather an Oculus question. Might be the Unity plugin, though.
     
  2. Cascho01

    Cascho01

    Joined:
    Mar 19, 2010
    Posts:
    1,347
    Sorry I don´t know the answer to your question, but if you know how to disable vibration on a controller please let me know. (Until now I do so by setting the frequency to zero...)
     
  3. olejuer

    olejuer

    Joined:
    Dec 1, 2014
    Posts:
    205
    frequency or amplitude? Setting both to zero is the intended way to turn off vibration. Or do you want to disable all vibrations permanently as a setting? I think you will have to keep your app from calling the respective methods in that case...
     
  4. Cascho01

    Cascho01

    Joined:
    Mar 19, 2010
    Posts:
    1,347
    Thanks
     
  5. mochsabat

    mochsabat

    Joined:
    Oct 19, 2021
    Posts:
    2
    Any luck with this? Cant figure out why my right controller dont vibrate