Search Unity

Audio 'Audio rollOff AI'?

Discussion in 'Audio & Video' started by mikelowefedex, Nov 19, 2020.

  1. mikelowefedex

    mikelowefedex

    Joined:
    Sep 29, 2020
    Posts:
    139
    Hello,
    I was wondering if it would be a great idea (since Unity can use pathfinding), to see if an audioSource is somehow able to reach the listener, and if not, the 'rollOff volume' becomes 0. This way, programmers would not have to write a script each time in order to 'simulate' an audioSource's volume based on sound trapped inside colliders.