How to listen to sound from a fixed camera in Unreal Engine

Hello.
I have created a simple project that changes the sound depending on the floor the player steps on, using your tutorial as a guide.


After that I created a fixed camera and played it.

The sound of the ground sounds as if it is heard by the third person himself.

I would like to create a scene like a 3D sound by installing ears on the fixed camera.
For example, when the player moves to the left, he/she hears the sound of walking on the stones and the sound on the left side of the earphone gets louder, and when the player moves away from the camera, the sound gets quieter, etc.
Any ideas?

You’ve already done most of the work. Now you just have to set the ‘attenuation’ of the sounds. If you attenuate too much, you won’t hear them at the camera, not enough, and they’ll sound like they’re all over the map ( probably like now ).

PS: If it doesn’t work, then use ‘spawn sound at location’ instead…

1 Like

Thank you so much!

1 Like

In C++ there is an overrideable function GetAudioListenerPosition which you can use to override the position / direction from which the audio can be heard from.

Don’t think it’s exposed to blueprints.