Controlling Haptics via code

Hi,

Thank you for sharing the information.

For now the best workaround would be to control the haptics intensity through a global parameter.

For example, you could create a global continuous parameter such as HapticIntensity and use it to automate the Left/Right intensity of your Haptics Instruments.


Then in Unity, you can set the value via Studio::System::setParameterByName

When the game is paused, set this parameter to 0, then restore it to the player’s selected value when the game is unpaused.

This should allow you to handle both the player vibration strength option and the pause menu case for any haptics clips using that global parameter.

Hope this helps! Let me know if you have more questions.