setMaximumDistance on an EventInstance?

Hey guys,

is there any way of changing the minDistance and maxDistance of a 3DSound that was defined in FMOD Studio - via the EventInstance or attributing a new EventDescriptor just like we do with it’s position via Studio::EventInstance::set3DAttributes?

Thanks in advance.

1 Like

We don’t expose that in the API at the moment. We’ll consider it for a future update.

That would be very appreciated! Please let me know once you have a roadmap for it! Thanks.

Just a heads up for anyone that revisits this question – since Studio 1.07 you can now call Studio::EventInstance::setProperty() with FMOD_STUDIO_EVENT_PROPERTY_MINIMUM_DISTANCE and FMOD_STUDIO_EVENT_PROPERTY_MAXIMUM_DISTANCE to set the min and max distance programmatically.

See https://www.fmod.org/documentation/#content/generated/FMOD_Studio_EventInstance_SetProperty.html for more information.

1 Like