コミュニティQ&A

Audiokineticのコミュニティ主導のQ&Aフォーラムへようこそ。ここはWwiseとStrataのユーザのみなさまがお互いに協力し合う場です。弊社チームによる直接のサポートをご希望の場合はサポートチケットページをご利用ください。バグを報告するには、Audiokinetic LauncherのBug Reportオプションをご利用ください。(Q&AフォーラムではBug Reportを受け付けておりませんのでご注意ください。専用のBug Reportシステムをご利用いただくことで、バグの報告が適切な担当部門に届き、修正される可能性が高まります。)

最適な回答を迅速に得られるよう、ご質問を投稿される際は以下のヒントをご参考ください。

  • 具体的に示す:何を達成したいのか、またはどんな問題に直面しているのかを具体的に示してください。
  • 重要な詳細情報を含める:Wwiseとゲームエンジンのバージョンやご利用のOSなど詳細情報を記載してください。
  • 試したことを説明する:すでに試してみたトラブルシューティングの手順を教えてください。
  • 事実に焦点を当てる:問題の技術的な事実を記載してください。問題に焦点を当てることで、ほかのユーザのみなさまが解決策を迅速に見つけやすくなります。

0 支持

Hi,

I'm creating a project with Wwise & Unity.

I'm trying to create some 'ambient' dialogue coming from NPCs in game so that they are just going about their days and the player happens to come across their conversations. I want the dialogue to trigger when the player comes into range, and to be spatially fixed to the NPC so that when the player moves, the dialogue gets quieter, pans etc as it would in real life when hearing someone talk while you moved past them.

I have got the following set up on my NPC Game Object: 

Sphere Collider - (set to "Is Trigger" for triggering dialogue when main character gets near) with a radius of 10

AkBank - Load on: AkTriggerEnter - Unload on: AkTriggerExit - Asynchronous: no - Decode compressed data: no - Name: Dialogue 

AkAmbient - Trigger on: AkTriggerEnter - Use Other Object: no - Action on Event: no - Use Callback: no Position type: Simple_Mode Show Attenuation Sphere: Current_Event_Only Name: Jam_Donut_Laughing_Dialogue (lol)

Ak Trigger Enter (Script) - Script: AkTriggerEnter - Trigger Object: FPSController

Ak Trigger Exit (Script) - Script: AkTriggerExit - Trigger Object: FPSController

AkGameObj - Apply Position Offset: no - Environment Aware: Yes - Use Default Listeners: Yes

 

So far as I can tell, I have everything set up correctly, (I can more or less verify this because I have torches throughout the level which are set up with an AkAmbient and the same Attenuation ShareSet, and work perfectly, panning/reacting based on where the player camera moves.) however when I go into play mode, the dialogue event I've set up triggers when the player gets close and disengages when they leave as intended, but the audio just follows the main camera and doesn't seem to be attached to the NPC whatsoever. Can anyone shed any light on this? I'm new to both Unity and Wwise and am finding myself troubleshooting more than actually doing any work!

Any help would be greatly appreciated.

 

Many thanks

 

Matthew T. (110 ポイント) General Discussion

Please sign-in or register to answer this question.

...