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
Does CalcOcclusionAndVirtualPositions take GeometrySets into account, or does it only look at rooms and portals?

I'm trying to figure out whether I need to calculate obstruction and occlusion myself, or if I can get the spatial audio plugin to do it for me. :)
in General Discussion by Evan T. (290 points)

2 Answers

+1 vote
 
Best answer
In short, yes you need to determine yourself if a sound is occluded/obstructed via a ray cast or some other means.  We do not yet do emitter-listener visibility checks via the geometry sets, however this is something we may look into for a future release. The purpose of this funciton is mostly to position the sound, when it is behind portals, in the correct place via "virtual positions", but also provides some occlusion values based on the number of enabled portals vs total portals, connected to the room.  You call the function after having already failed the visibility check.

In the future, this somewhat awkward function will most likely be deprecated in favor of internal positioning of the sound emitter.
by Nathan H. (840 points)
selected by Evan T.
0 votes
Apparently not.
by Evan T. (290 points)
...