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

How to set a State without transitioning to it?

0 投票

I'm using states in my game to modify the soundscape on an island. So if you go to the mountain, it becomes windier and so on.

I've set up the fades between the states and the transitions sound excellent for normal navigation on the island. 

However, if you warp from one place to another, they don't sound so good. In that case, I'd prefer, not to have the transitions and just to make a sudden shift instead (combined with warp-soundeffect).

So is it possible to set a new state without having the transition triggered?

I'm working in Unity and using the AkSoundEngine.SetState(string in_pszStateGroup, string in_pszState) to trigger the state change.

Any help would be very valued! 

最新提问 6月 1, 2021 分类:General Discussion | 用户: Gizmo (170 分)

1个回答

0 投票
Maybe try creating an additional "warp" state which could be triggered in between the locations when warping.  Set quick transition time, masked with the warp-sfx, followed by the new location state.
最新回答 6月 2, 2021 用户: Monty M. (2,680 分)
...