Hi all,
I have moving Objects that play different loops, depending on their velocity.
I want to crossfade between the loops, like:
vel = 0; vol1 = 1, vol2 = 0, vol3 = 0
vel = 0.2; vol1 = 0.8, vol2 = 0.3, vol3 = 0
vel = 0.5; vol1 = 0.3, vol2 = 1, vol3 = 0.1 etc.
At the moment I use three audioSources, and control their 3 volumes.
Is there a better way to do this?
Thanks!
↧