Question about 3rd Person Pawn Based sound. Still just working with cameras.

Hi.

While starting my sound tests I’ve noticed that while you can assign SceneComponents as audio Listener trough SetAudioListenerOverride( ), the only thing that works with attenuation and spatialization is the Camera Actor.

Here are the tests I did:
Placed a USceneComponent on my class - Result = MUTE.
Assigned the Character CapsuleComponent as listener - Result = Horrible Spatialization, something described as the trouble with number of audio channels on Hub (that thing about mute sound when the origin is behind you).
Assigned a CameraComponent as listener = Same as above.

Now… To check I’ve inserted an ChildActorComponent and told it to spawn a CameraActor…
The sound works perfectly, while unfortunatelly I could not get it attached and moving with my actor, moving the AmbientSound on the Editor far, near, left, right from the PlayerSpawn point (theoretically where it’s being spawned) produces perfect sound ambience variation without any back to source gaps.

I’ve tried Attach the child actor, the child component (both to the character actor as the CapsuleComponent), but looks like it don’t moves. Also tried update its location on Tick, also without success.

I can bypass the “just camera thing”, any idea about how to get this spawnedcamera moving with the character?

Thank you.

Additional Info:

I did a check on the component position, it’s moving but is being completely ignored by the ambient sound actor to attenuate. :frowning:

SOLVED.

Not exactly something related to the kind of scene component used, the trouble is that (I don’t know why) my call to SetAudioListenerOverride( ) is not overriding/populating the AudioListener pointer on the Controller Class (strange, since it overrides all remaning parameters on the function).

Got this on watching the value by overriding GetAudioListenerPosition( ).

Well, since I got to GetAudioListenerPosition( ) method, was easy simply get the component right from the Pawn variable cast to MyCharacter Class.

Best Regards.