Many sound designers add a parameter that represents whether or not the event is muffled or otherwise occluded from the listener by an intervening barrier, and automate the event’s volume on that parameter. Many commercial game engines have built-in ray tracing that can be used to calculate whether an emitter is occluded. If you are using your own game engine, you will need to add this feature to it in order to drive the parameters you add.
1 Like