Audiokinetic's Community Q&A is the forum where users can ask and answer questions within the Wwise and Strata communities. If you would like to get an answer from Audiokinetic's Technical support team, make sure you use the Support Tickets page.

Do you have to set up Occlusion in Blueprints for every audio object in level?

0 votes
I am still figuring out the ins and outs of using Wwise + UE4.

 

Looking over the documentation for Occlusion: it seems the only way to enable occlusion is through blueprints. So does that mean I have to create Blueprint nodes for every AKComponent I am using? Or do I only have to set up occlusion for the player on their blueprint?

 

If the latter is the case then fine, but the former seems really time consuming and bloated. And how would AkAmbientSounds get occlusion enabled if the former is the case?
asked Feb 27, 2015 in General Discussion by Jack M. (430 points)

1 Answer

+1 vote
 
Best answer

This is actually going to change in the 4.7 integration. We've exposed the AkComponent directly on the AkAmbient, and as a result, the occlusion refresh interval shows up it its details panel (see image)

The same options will be available when you add an AkComponent to a blueprint, too.

answered Feb 27, 2015 by Benoit S. (Audiokinetic) (16,020 points)
selected Mar 26, 2015 by Jack M.
Cool! So to clarify for current implementation: the set Occlusion Interval does indeed need to be on each AKactor and *not* on the player/listener?

What is the ETA for 4.7 integration?
Yes, occlusion is set on AkComponents, not on the listener.

It usually takes us two weeks to get a new integration out.
And one more Q: How do I enable occlusion on sounds that are spawned at runtime or sounds on other players in a level? Do those have to be set up on a per object/component basis in a Blueprint?
Yes, you'll need to get the AkComponent, and then set the Occlusion refresh interval on them. However, the default value for the Occlusion refresh interval is 0.2, so the feature is on by default.
I keep getting confused!

So the refresh is on by default, or Occlusion is on be default? (I would prefer the latter)
Both. There is no switch for occlusion; everything is controlled by the refresh interval. If the interval is set to 0, occlusion is turned off for this AkComponent. Setting it to a non-zero value will enable the occlusion feature.
Hey, apologies for digging up an old thread (and hijacking it!) but it looks like in UE4.27 and Wwise 2021.1.10.7883 the Occlusion Refresh Interval is set to 0 as default. Is there somewhere in the settings that I can change this to a different value so that all sounds adhere to a new value by default?

Thanks
...