Hi, I want to be able to retrieve the current selected curve setting of the spatializer. Specifically, I’d like to know if the attenuation is disabled or not. Unfortunately, searching through the documentation/unity code. I was unable to find anything related to this.
It’s currently not possible to fetch the curve at runtime, but you can sort of via scripting within the FMOD Studio application. Assuming you have already got the current event in an
event variable and the spatializer is on the master track, you could try:
This will return the following:
0 - Default curved rolloff 1 - Linear straight line 2 - Slow start, fast end 3 - S shaped curve 4 - Off
Thanks for the reply, guessing that’s the only solution for now.