we are using the EventSystem for our project.
I created several events for 3d positioning, set up the rolloff and an RPC (Pitch for instance) in dependence to the distance. In the PRC, I’ve set the distance min/max to 0-6000 (means 60m in our engine).
This works fine when tested in the engine.
The problem is, that the rolloff does not work. It always sounds as if the distance is less than min_distance and never gets into the curvage area of the logarithmic or linear rolloff function. (It might help that I never heard any sound when choosing "linear")
Again, the RPC works with the distance but the Rolloff doesn’t.
Rolloff min_distance = 100 (1m)
Rolloff max_distance = 5000 (50m)
I tested the event in a distance of 3900 (39m) and could hear the pitch effect but no level change due to rolloff. (Walking towards the events position does not change the rolloff)
What could I’ve done wrong??
I am using Designer v1.7.17 and the EventSystem Version 1.6.21
- kniffo asked 10 years ago
If you had changed the event rolloff type to ‘custom’ you wouldnt even be able to enter the min/max distance (they would be greyed out) so it still sounds like you’ve got fmod’s log or linear rolloff system running. Check your event settings again.
Thanks for the answer Brett,
well I’ve set up the min and max distances to values that should work but still no level change. The assigned effects work fine but I don’t hear a rolloff working.
I am actually using logarithmic rolloffs, not custom.
Hope, you can help me.
- kniffo answered 10 years ago
It sounds to me like the values you are passing into the API at runtime are not matching your 100=1 values you used in FMOD Designer.
You can also use System::set3DSettings to adjust the distance factor (though that only affects doppler – as long as all your position vectors and min/max values are the same scale it will work because it is all relative).
Please login first to submit.