Version

menu_open
Warning: you were redirected to the latest documentation corresponding to your major release ( 2023.1.9.8628 ). Should you wish to access your specific version's documentation, please download the offline documentation from the Audiokinetic Launcher and check the Offline Documentation option in Wwise Authoring.
Wwise Unity Integration Documentation
Using AkRoomAwareObject from the Inspector

Rigidbody

  • Interactions between GameObjects with the AkRoomAwareObject component and GameObjects with the AkRoom component need a Rigidbody component on at least one of them. Click on the Add Rigidbody button to add one.

Collider

  • GameObjects with the AkRoomAwareObject component need to have a collider component. It is necessary to identify the room that contains the GameObject and send that information to Spatial Audio with a call to the AK::SpatialAudio::SetGameObjectInRoom() function. As soon as the GameObject's collider overlaps with the AkRoom component's collider, the GameObject is set in the room (if the room has a higher priority than the current room the GameObject is in). Scale the GameObject's collider accordingly. We recommend scaling it to 0.
See also

Was this page helpful?

Need Support?

Questions? Problems? Need more info? Contact us, and we can help!

Visit our Support page

Tell us about your project. We're here to help.

Register your project and we'll help you get started with no strings attached!

Get started with Wwise