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

Wwise-Unity / moving object, spatial audio problem [closed]

0 votes

Hi guys.

I am trying to play some sound in a Unity project using Wwise as a middleware. I have a problem listening to a sound on a moving object. If someone could share a bit of knowledge I'd be very happy! :D

Wwise project information:

sfx_moving -> The audio sfx which is set to loop. Under the Positioning tab I have the following settings.

https://i.postimg.cc/DyX05BMK/positioning.jpg

movingtileTrigger -> The event with the sound

Unity project:

The scripts

https://i.postimg.cc/52WBmHpn/unity.jpg

I have also implented the following code in the object within void Start ():

gameObject.AddComponent<AkSpatialAudioEmitter>();
AkSoundEngine.PostEvent("movingtileTrigger", gameObject);

 

Thanks a lot in advance!

closed with the note: My bad. Listener was out of position.
asked Sep 2, 2019 in General Discussion by Yannis T. (100 points)
closed Sep 3, 2019 by Yannis T.
...