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.

Set RTPC on Unity game object

0 votes
I try to change a rtpc value for just on gameObject and not on a global scope.
I try this:
AkSoundEngine.SetRTPCValue(rtpcName, rtpcValue, gameObject);
But the rtpc is not change when i launch my program.
Anyone have a solution for this ?
asked Dec 3, 2016 in General Discussion by Maxime T. (140 points)

2 Answers

0 votes
I had this issue when trying to change the volume on a bus. Apparently the bus is global and so no gameObject must be passed to the method. Not sure if you are trying to do the same.
answered Jan 17, 2017 by b h. (140 points)
0 votes

In fact i was in the wrong gameObject.
And i found that for use a rtpc on a global scope you have to change the last parameter of the setrtpcvalue function by "null" or "AK_INVALID_GAME_OBJECT ".

answered Jan 17, 2017 by Maxime T. (140 points)
...