Hi! I am learning about the implementation of FMOD in Unity. I have the next doubt:
I have in the FMOD project the background music and a parameter than introduces a vocal layer.
I want him to change the parameter in relation to the Player’s distance with a church.
¿Some idea?
Thanks!
joseph
September 14, 2018, 5:35am
2
The simplest method would be to regularly calculate the distance between the player and the nearest church, and to update the value of the parameter to that calculated value every frame.
Information on how to set a parameter value in Unity can be found here: https://www.fmod.com/resources/documentation-api?page=content/generated/engine_new_unity/paramtrigger.html#/
For examples of how to set an event instance’s parameter value in Unity, see:
https://www.fmod.org/questions/question/controlling-parameters-in-unity/
https://www.fmod.org/questions/question/set-fmod-parameter-with-ontriggerenter-in-unity-5/
1 Like
Great! Right now I’m doing some tests
Thank you so much!
1 Like