Version

menu_open
Attention : vous avez été redirigé vers la plus récente documentation correspondant à votre version générale ( 2024.1.2.8726 ). Si vous souhaitez accéder à la documentation de votre version précise, veuillez télécharger la documentation hors ligne depuis l'Audiokinetic Launcher et sélectionner l'option de documentation Offline dans l'application de création Wwise.
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

Cette page a-t-elle été utile ?

Besoin d'aide ?

Des questions ? Des problèmes ? Besoin de plus d'informations ? Contactez-nous, nous pouvons vous aider !

Visitez notre page d'Aide

Décrivez-nous de votre projet. Nous sommes là pour vous aider.

Enregistrez votre projet et nous vous aiderons à démarrer sans aucune obligation !

Partir du bon pied avec Wwise