Setting Up Audio Occlusion with Unity and FMOD: A Step-by-Step Guide

guidance on setting up the scripts

As described in the video add the player transform, create & add the obstacle layer and similarly an FMOD parameter. The other settings are optional and will be discussed in more detail below.

Setting the spatilisation range Go To Section

Set the FMOD range to the same value


Setting up the occlusion in FMOD

FMOD Go To Section

The “Audio Occlusion Parameter”


Setting up AMBIENCE FX

Delays Go To Section

For ambience FX such as delays and possible reverbs

OPTional reverbs

Reverb settings Go To Section

The script includes discreet enum values that can be used to set a parameter on start.

The script

Note: This script is set up so you need to add objects manually in the Inspector – it might be worth considering adding the objects automatically on start if used in a bigger project.

The script is based

Audio occlusion moving object

This simply


Posted

in

by

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *