Hi, I was just wondering if there is any way in FMOD Designer to automatically stop a 3D event once it reaches the end of its rolloff? I’ve got my 3D events into my game, but I seem to keep hearing them once I’m fully away from them. This is obviously a memory issue too.
- grammo106 asked 7 years ago
If you’re using logarithmic rolloff it will be audible beyond max distance. The idea is that the max distance is the point at which attenuation stops which means it will be a constant volume from there. It’s generally better to use custom rolloff curves instead.
Stopping the event will have no impact on memory, event data will stay in memory until you unload it. There is CPU cost for every voice being played, but FMOD’s virtual voice system will take care of that.
- Guest answered 7 years ago
You can create a 3d distance parameter in the Event Editor.
On the layer with the sound, bring its sound definition in to say 80% of the region, and then in the layer properties set the control parameter for that layer to be the 3d distance.
When the distance parameter goes outside the layer region, that layer will stop playing.
However, enabling custom 3d distance means that you also have to specify your own distance-volume attenuation curve.
- mattconnolly answered 7 years ago
Please login first to submit.