The thing is: if a sound is close to any camera, I want it to play at normal volume, if it´s distant from both, should play lower, and if it´s far away from both, shouldnt play at all...
I thought that creating two sound listeners, that blitz would do this...
Manually setting the volume isnt a very good solution either, would be if there was only sounds that played once, but since players can have a "shield" which emits a constant sound... having to compute distance from every "sound" played every frame, and changing it´s volume according to distance isnt a very good option :P
I thought that creating two sound listeners, that blitz would do this...
Manually setting the volume isnt a very good solution either, would be if there was only sounds that played once, but since players can have a "shield" which emits a constant sound... having to compute distance from every "sound" played every frame, and changing it´s volume according to distance isnt a very good option :P