setMaximumDistance on an EventInstance?

(Filipe Silvestrim) #1

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.

(Geoff Carlton) #2

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

(Filipe Silvestrim) #3

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

(Patrick Wadsworth) #4

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 for more information.