Audiokinetic의 커뮤니티 Q&A는 사용자가 Wwise와 Strata 커뮤니티 내에서 서로 질문과 답변을 하는 포럼입니다. Audiokinetic의 기술 지원팀에게 문의하고 싶으신 경우 지원 티켓 페이지를 사용해주세요.

0 투표
Hey there,

I'm currently evaluating Wwise for use in a Unity game, and I'm running into a problem right off the bat....

Trying to set up environmental reverbs using the Game Defined Aux feature, but for some reason Wwise will only register an Aux on game objects that have a Character Controller component.

According to the documentation, Wwise should assign an Aux to any game objects that have an AkAuxSendAware script and some sort of collider.  Through trial and error I've found that this script doesn't recognize regular colliders, and only works when there is a Character Controller on the object.  Obviously this isn't a good solution...

Everythign works perfectly on objects with a Character Controller.  I can see the object being assigned an Aux in the Wwise profiler whenever it enters a reverb collider.  When I remove the Character Controller component and replace it with a regular collider, it no longer calls OnTriggerEnter when the object hits a reverb.  Hmm..

Anyone else having this issue?

Thanks.
General Discussion Joel G. (190 포인트) 로 부터

1 답변

+1 투표
 
우수 답변
Okay I figured this out.  The issue was simply that OnTriggerEnter is not called unless one of the colliding objects is a rigidbody.  Putting a rigidbody component on the reverb zone object fixed the problem.
Joel G. (190 포인트) 로 부터
Adding a note since this got me too and the solution may help someone else - you have to make sure your rigidbody and collider are on the same layer as your reverb zones.
...