menu
 

在 Audiokinetic 社区问答论坛上,用户可对 Wwise 和 Strata 相关问题进行提问和解答。如需从 Audiokinetic 技术支持团队获取答复,请务必使用技术支持申请单页面。

0 投票

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!

问题关闭原因: My bad. Listener was out of position.
分类:General Discussion | 用户: Yannis T. (100 分)
已关闭 用户:Yannis T.
...