menu
 

AudiokineticのコミュニティQ&AはWwiseやStrataのコミュニティ内でユーザ同士が質問・回答をし合うことができるフォーラムです。Audiokineticテクニカルサポートチームからの回答をご希望の場合は、必ず サポートチケットページ をご利用ください。

0 支持
I noticed that, when I wanted to trigger an AkState with AkTriggerEnter. The State is triggered right away when starting the Game in Unity. The same happens with AkAmbient and AkTriggerEnter! So it seems to have to do something with the AkTriggerEnter (or AkTriggerBase?) script. Anyone experiencing the same malfunction? Any ideas how to solve this problem?
Michael D. (230 ポイント) General Discussion

回答 1

+1 支持
 
ベストアンサー
Hey Michael,

Hmm.. the AkTriggerEnter should definitely not trigger on start, but there might be another trigger colliding with yours in the scene.
Try to look for any other colliders that might intersect with the one on the AkStates game object. Or attach the AkTriggerEnter script to the same game object as well, so you can specify what game object you want the trigger to react to.

Also, check this out.
https://www.youtube.com/watch?v=PEOEvE7Vf_w
It introduces the same problem as I've described (about 1:18).

Let me know if it helps!
Mads Maretty S. (Audiokinetic) (40.2k ポイント)
Michael D. 選択
...