Community Q&A

Welcome to Audiokinetic’s community-driven Q&A forum. This is the place where Wwise and Strata users help each other out. For direct help from our team, please use the Support Tickets page. To report a bug, use the Bug Report option in the Audiokinetic Launcher. (Note that Bug Reports submitted to the Q&A forum will be rejected. Using our dedicated Bug Report system ensures your report is seen by the right people and has the best chance of being fixed.)

To get the best answers quickly, follow these tips when posting a question:

  • Be Specific: What are you trying to achieve, or what specific issue are you running into?
  • Include Key Details: Include details like your Wwise and game engine versions, operating system, etc.
  • Explain What You've Tried: Let others know what troubleshooting steps you've already taken.
  • Focus on the Facts: Describe the technical facts of your issue. Focusing on the problem helps others find a solution quickly.

0 votes
Hello,

let's say, in a third person game, the Listener is on the Player instead of the Camera. Is there a way to have all 3D panning relative to the Camera, but attenuations calculated based on the distance between audio sources and the Player ?

Minh
in General Discussion by Minh H. (100 points)

1 Answer

0 votes
You might like to try setting the forward/up vectors of the listener to be those of the camera while keeping the position vector that of the player when you set your listener position from code.

-

dan.m
by Dan M. (2.6k points)
I've never tried this, but I can't imagine it working properly.  With what you're suggesting, if the camera is well behind the player, but the listener is on the camera, and a sound plays just behind the player, it'll sound like it's coming from behind (on a surround sound system), even though it's happening in front of the player. For regular sound systems, you could perform the same thought experiment with the sound coming to the right of the player, but still in front of the camera, the sound would come from the right speaker instead of both.  For this reason I really don't think changing the forward/up vectors would do anything.
...