0
0

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!

  • You must to post comments
1
0

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/

  • Esteban Lagger

    Great! Right now I’m doing some tests ?
    Thank you so much!

  • You must to post comments
Showing 1 result
Your Answer

Please first to submit.