Hello, great people.
I played a sound at location.
And it seems the sound is received by the camera on my character.
The camera is faraway form the character on a spring arm.
I hope to hear the sounds with pawn’s location.
In your playercontroller class, override function “OnPossess” and call function “SetAudioListenerOverride”.
Pass the root component of the possessed pawn for attachment, and zero vectors for location/rotation (those are offsets relative to the attach component).
1 Like
It worked for me!thank you so much!
And one last question?
What’s the difference between “set audio listener”and”set audio listener attention”.
I tried both ,they look like the same to me?
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.