Hello.
I am working currently on a student project, we are using Wwise integrated with Unity 4.
I have made a 3D sound in the scene, set up the positioning with my desired attenuation, But for some reason the sound's position is reversed.
When my player is standing left to the object I hear it on the right side and vice versa.
To fix that I reverse the input in the AkSoundEngine, but I am sure there is a better way to fix it.
public static AKRESULT SetListenerPosition(float FrontX, float FrontY, float FrontZ, float TopX, float TopY, float TopZ, float PosX, float PosY, float PosZ, uint in_ulListenerIndex) {
AKRESULT ret = (AKRESULT)AkSoundEnginePINVOKE.CSharp_SetListenerPosition(-FrontX, FrontY, FrontZ, TopX, TopY, TopZ, PosX, PosY, PosZ, in_ulListenerIndex);
//The ForntX is reversed "-FrontX" In Order to make the sound positioning play accurately
I am sure the problem runs deeper then that, any thoughts what might be the real problem? Or where to look?
Thanks In Advance