Community Q&A

Where Wwise users help each other out!

Audiokinetic's Community Q&A is the forum where Wwise users ask and answer questions within the Wwise community. If you would like to get an answer from Audiokinetic's Technical support team, make sure you use the Support Tickets page.

Unity: AkAmbient setting Large Mode up with code.

0 votes
Hey there,

I need a way to set up the Large Mode points via C# code because im doing a procedural game and i need to set up Rivers and Lakes. Is there a way to do that ?
Another idea i got was to spawn empty gameObjects with the AkEvent and play them from there.

Are there any performance difference between those two ideas?

And are the Large Mode points just AkEvents that play simultanious from different positions ?


Greetings Jonas
asked Jun 27, 2018 in General Discussion by jonas k. (150 points)

1 Answer

0 votes
We are trying to do the exact same thing, would be great to get an answer!

Cheers, Greg
answered Apr 2, 2019 by Gregory L. (140 points)
Well, I think you can use the Event Position Confiner Script.
For example:
If you have a Waterplane(which needs to have a trigger box), the Soundsource you select will always choose the nearest position to the player.
Heres a Link:
Let me know if it worked.

Tried this today actually and it works well but unfortunately, it isn't suitable for our game due to the nature of box colliders and the gameplay mechanics. But thanks a lot for the answer!