Please be advised that the Audiokinetic offices will close at 3:00 p.m. EST on December 23rd, 2019 for the holiday period, and will reopen on January 3rd, 2020 at 9:00 a.m. EST. Learn more.

Community Q&A

Where Wwise users help each other out!

Audiokinetic's Community Q&A is the forum where Wwise users ask and answer questions within the Wwise community. If you would like to get an answer from Audiokinetic's Technical support team, make sure you use the Support Tickets page.

[Unity] Distance relative to the player, panning relative the camera

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
asked Aug 2 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
answered Aug 6 by Dan M. (2,660 points)
...