menu
 

Community Q&A

Welcome to Audiokinetic’s community-driven Q&A forum. This is the place where Wwise and Strata users help each other out. For direct help from our team, please use the Support Tickets page. To report a bug, use the Bug Report option in the Audiokinetic Launcher. (Note that Bug Reports submitted to the Q&A forum will be rejected. Using our dedicated Bug Report system ensures your report is seen by the right people and has the best chance of being fixed.)

To get the best answers quickly, follow these tips when posting a question:

  • Be Specific: What are you trying to achieve, or what specific issue are you running into?
  • Include Key Details: Include details like your Wwise and game engine versions, operating system, etc.
  • Explain What You've Tried: Let others know what troubleshooting steps you've already taken.
  • Focus on the Facts: Describe the technical facts of your issue. Focusing on the problem helps others find a solution quickly.

0 votes
Using Wwise 2021.1.5.

I need to have the trigger rate of a Random Container be controlled by an RTPC that is set inside of Unity.  Specifically, the RTPC is being set according the the Y velocity of an enemy's movement.

I have a solution, but it's not quite working the way I'd like.  Currently, in the General Settings of the Random Container I've set the Play Mode options as follows:

-Continuous

-Loop: Infinite

-Transition: Trigger Rate, Duration is controlled by the RTPC

In theory, this should work.  However the issue is that when the duration is at it's lowest point (once every 2.85 seconds) and then jumps up to a higher value (once every .3 seconds), the trigger seems to be waiting until the 2.85 seconds finishes before beginning to trigger at the new rate.  This causes inconsistent playback in the game where the RTPC is being updated constantly due to the enemy quickly changing directions.

Is there a way to force the trigger rate to immediately respond or override the previous duration for the new one?  If not, is there a better solution for this in Wwise?  I'd love to handle this in Wwise rather than running a Coroutine in Unity.

Cheers!
in General Discussion by Brian A. (100 points)

Please sign-in or register to answer this question.

...