menu
 

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

0 投票

Goal: Create a box collider which which triggers a state on a wwise Aux bus.

Example: a box collider on a water volume which triggers an "LPF" state on the ambience aux bus in wwise

My setup in Wwise:

  • An Sfx Object set to 2D with an ambient audio loop. This is set as a play action on an "ambience" event. "Plays through audio bus "ambience"
  • State group "TestGroup" Set up with two states: "LPF" and "Neutral"
  • An "ambience" audio bus on the master-mixer hierarchy with the State group "TestGroup"
    • the "LPF" state is set to 75% LPF
    • The "Neutral" state does not have any changed parameters. It is the same as "none"

My setup in Unity

  • A 3D box collider with "AkState" component set to "LPF" and set to trigger on by "AkTriggerEnter"
  • An fps controller with "AkState" set to trigger on "start" and set to "neutral". The fps controller has AkGameObject and is set to "environment aware" it also has "akAudioListener"

The idea is that the fpsctonroller starts the game outside of the boxcollider with "AkState" set to "neutral". I walk the camera into the boxcollider to trigger the "AkState" "LPF".

that is not happening though. Currently the state "LPF" is triggered immediately when the game is started even though I have not entered the box collider with the state trigger. Why is this happening?

分类:General Discussion | 用户: Derrick R. (120 分)

Please sign-in or register to answer this question.

...