Version
Wwise Unity Integration Documentation
|
Add an AkEmitterObstructionComponent to a GameObject to obstruct/occlude it from a listener if there is another object in the path between them.
When the emitter is obstructed or occluded, the AkEmitterObstructionOcclusion component will call SetObjectObstructionAndOcclusion()
with a value of 1. Define the obstruction (Obstruction Volume, Obstruction LPF, and Obstruction HPF) and the occlusion curves (Occlusion Volume, Occlusion LPF, and Occlusion HPF) in your Wwise Project Settings.
When your map doesn't use spatial audio (that is, it doesn't have any AkRoom components), the AkEmitterObstructionOcclusion component will only use your Wwise-defined occlusion curves. Conversely, if your map uses spatial audio, then the GameObject will only use your Wwise-defined obstruction curves.
Note: | Do not use AkEmitterObstructionOcclusion if using spatial audio diffraction. |
Questions? Problems? Need more info? Contact us, and we can help!
Visit our Support pageRegister your project and we'll help you get started with no strings attached!
Get started with Wwise