Hi everyone,
I wondered if it is possible to get the current distance from the spatializer effect, and use it to automate other effects/things.
Hi everyone,
I wondered if it is possible to get the current distance from the spatializer effect, and use it to automate other effects/things.
The Distance built in parameter automatically gets the information on how far the event emitter is from the listener. Otherwise you would need to use a combination of EventInstance::get3DAttributes()
and System::getListenerAttributes()
to do the calculation in your game’s code.