Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

Change Audio Listener Position?

Hi there, probably a very basic question.

Which component / actor is responsible for where all the sounds can be heard from? I am developing a top down shooter where the camera boom is quite far away positioned from the player, so fire near the player is extremely silent. I need to change this so all the sounds can be heard relative to the player, not the camera. I hope somebody has a solution for this!

Thanks for reading

Product Version: Not Selected
more ▼

asked Apr 12 '14 at 05:36 PM in Using UE4

avatar image

47 9 10 14

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

2 answers: sort voted first

Not sure how long it's been there, but there is a blueprint function now you can use to fix this.

It's in PlayerController called Set Audio Listener Override. You can set a world location/rotation for the audio listening, or you can attach the listening to a scenecomponent (e.g. the mesh of your controlled pawn lets the pawn be the listener rather than the camera).

more ▼

answered Feb 26 '15 at 02:33 AM

avatar image

431 19 14 36

avatar image Kayar Feb 28 '15 at 05:47 AM

Hey, I managed to find the Audio Listener Override, but I can't work out how to attach my character's mesh to the "Attach to Component" part.

Can you help me out?

EDIT: Nevermind. I found out how to do it. I created it in my Character blueprint, not my Controller blueprint.

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

The virtual function APlayerController::GetAudioListenerPosition is responsible for this. You must subclass player controller with your own class and override this function to change the location. There isn't currently a way to do this from blueprints though it is on the list of things to expose.

more ▼

answered Apr 12 '14 at 09:46 PM

avatar image

Marc Audy STAFF
2.2k 42 35 95

avatar image Cence Apr 13 '14 at 07:56 AM

Thanks a lot

avatar image billystupid Oct 23 '14 at 08:41 AM

Hi, six months on .... can you give us any kind of timeline for when audiolistener position will be exposed in Blueprints ? Thanks.

avatar image kurtrussellfanclub Feb 26 '15 at 02:34 AM

You may know already since this is an old comment, but it's been implemented and the player controller has a Set Audio Listener Override node. See my post below.

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question