Community Q&A

Where Wwise users help each other out!

Audiokinetic's Community Q&A is the forum where Wwise users ask and answer questions within the Wwise community. If you would like to get an answer from Audiokinetic's Technical support team, make sure you use the Support Tickets page.

How to make object smash with sound effect in Unity?

0 votes
Hi there,

 

I'm working on the 3D Game Kit in Unity, and am looking to sync up a Wwise Event, which has my "crate_smash" sfx attached, to the destruction of a crate object in game when hit with the player's staff.

I feel like I am quite close to figuring it out, but I can't quite seem to piece it together. I suspect it is a case of creating an "AkEvent" (or similar) which triggers on some sort of collision which will then play the event when the object is destroyed, but I can't quite get this method to work for me with 100% success.

 

I have searched to see if there is an animation of the crate being destroyed which I could create an Animation Event and sync up my Wwise Event to as per this Cujo Sound tutorial: https://www.youtube.com/watch?v=oVjT7QguQno&list=PL2YvvQu4Ub5uzib_IZJfTfhyQpIk0CXsA&index=3&t=513s but I can't find an animation for the destruction of the crate, so wondering if there is another way to do this.

 

Any help would be greatly appreciated!

 

Many thanks
asked Jun 7 in General Discussion by Matthew T. (100 points)

Please sign-in or register to answer this question.

...