Attention | Topic was automatically imported from the old Question2Answer platform. | |
Asked By | Alniroza |
I am trying to develop a somewhat top-down shooter, were the character is always at the bottom of the screen (you can barely see whats behind your back), and i as a higly important requeriment is a good 2D spatial sound thats relative to the caracter i am playing.
So if my character hear something to his left, the player should hear it to his left too, and also attenuation, i used an AudioStreamPlayer2D to resolve this, but the camera2D center is a at the center of the game viewport screen, that mean that the sound can be heard closer than they really are, or on missplaced ubication respect to the player’s character (looks like all panning and attenuation effects are relative to that camera center).
Any idea to let the 3D sound be relative to my charactor and not the camera???