Version

menu_open
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