"directionless" sound for 2D game.

I need sound the comes out of both speakers evenly for a 2d game. Several posts on this site suggest that

AudioSource.PlayClipAtPoint(damageSound, Camera.main.transform.position);

would work for this purpose, but the actual result of this code is that the sound seems entirely come from one speaker or the other at random. Note that my audio listener is on my main camera.

1 Answer

1

In the audio source set the sound to 2D and I belive it will fix the issue.

Not using an audio source, but I could if I have to.

Then you caint do AudioSource.PlayClipAtPoint(), if there is no audio clip.

Oh, I thought you meant the Audio Source component, which I am not using. It does look like there is a 3D sound check box on the audio file itself though.