Search Unity

Mathmatical formula for Unity's logarithmic fall-off

Discussion in 'Editor & General Support' started by hrjunker, May 1, 2013.

  1. hrjunker

    hrjunker

    Joined:
    Nov 15, 2011
    Posts:
    26
    Hi

    I am currently in need of the mathmatical formula for the logarithmic fall-off curve for Unity's AudioSource. Is there anyone who knows it, or a simple way of getting it?
     
  2. hrjunker

    hrjunker

    Joined:
    Nov 15, 2011
    Posts:
    26
    I found the answer myself. The roll off follows a 1/distance model if anyone want to know :)
     
    Estecka and glitchers like this.
  3. Estecka

    Estecka

    Joined:
    Oct 11, 2013
    Posts:
    62
    That's... it? No fancy multiplier or Log thingy?
    That's simpler than I expected.

    How do the Min distance and Max distance fit into that model?