How to play sound in 3D position without using AudioStreamPlayer3D

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By Maksanty

I’m creating an effect, when a bullet hits a surface. The bullet is made entirely with VisualServer and PhysicsServer. I wanted to do the same with hit effect, but I cannot find a way to play hit sound using AudioServer.

:bust_in_silhouette: Reply From: maxwellc055


As I currently understand, audio playback is not possible with only the AudioServer. Similar to the way an AnimationTree requires an AnimationPlayer node to be present to actually play animations with the AnimationTree, an AudioServer requires a node to handle the actual audio playback— such as an AudioStreamPlayer. I am not exactly sure what tangible effect you are trying to achieve, but rest assured, an AudioServer can certainly work hand in hand with an AudioStreamPlayer.

I hope this response serves you well.