Making FMOD Studio Parameter Triggers in 2D?


(TIM) #1

Hi, I’m a complete novice at this, just moving into the world of game audio. Any help would be greatly appreciated. I’ve watched the FMOD tutorials on Youtube, including how to create adaptive music but all seem to be in the 3D world and I’m struggling to make this work in 2D. I’m not sure if 2D objects (Player) interact with 3D cubes etc.

Our game is a 2D side scroll runner in which a character runs left to right across building rooftops.

What I’m trying to do is create certain zones after checkpoints in which the music ramps up in intensity. I have the loop regions & transitions set in FMOD which all work individually in Unity at object start if the parameters are set to the appropriate value. I have tried working with 3D cubes set as triggers which contain the ‘Studio Parameter Trigger’ (Target:Player - Trigger:Trigger Enter) But with no luck.

Any steer on this would be great.

Thanks in advance,
Tim


(Cameron Baron) #2

I don’t believe that you can’t mix 3D GameObjects and 2D Colliders, or 2D GameObjects and 3D Colliders. You will have to use one or the other.

https://docs.unity3d.com/Manual/Collider2D.html