menu
 
Version
2023.1.9.8628

2024.1.1.8691

2023.1.9.8628

2022.1.18.8567

2021.1.14.8108

2019.2.15.7667

2019.1.11.7296

2018.1.11.6987

2017.2.10.6745

2017.1.9.6501

2016.2.6.6153

2015.1.9.5624


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