Questions et réponses de la communauté

Bienvenue sur le forum de questions et réponses d'Audiokinetic, propulsé par la communauté. C'est l'endroit où les utilisateurs de Wwise et Strata s'entraident. Pour obtenir une aide directe de notre équipe, veuillez utiliser la page « Tickets de soutien ». Pour signaler un bug, utilisez l'option Bug Report dans l'Audiokinetic Launcher. (Veuillez noter que les rapports de bug soumis au forum questions-réponses seront rejetés. L'utilisation de notre système de rapport de bug dédié garantit que votre rapport est vu par les bonnes personnes et a les meilleures chances d'être corrigé.)

Pour obtenir rapidement les meilleures réponses, suivez ces conseils lorsque vous posez une question :

  • Soyez précis : qu'essayez-vous de réaliser ou quel est le problème spécifique que vous rencontrez ?
  • Pensez à inclure les détails importants : incluez des détails tels que les versions de Wwise et du moteur de jeu, le système d'exploitation, etc.
  • Expliquez ce que vous avez essayé de faire : indiquez aux autres les mesures que vous avez déjà prises pour essayer de résoudre le problème.
  • Concentrez-vous sur les faits : décrivez les aspects techniques de votre problème. Se concentrer sur le problème aide les autres personnes à trouver rapidement une solution.

+3 votes
Hi all!

I'm trying to play two sounds when a button is pushed, one is a foley sound for button click and the other is some sound (let's assume a song), with a tracked hand motion interface in my UE4 scene. When interacting with the button we want the click sound to not be occluded at all by our hands but the music should be. The simplest way I can think of to get this effect is to add the hands to the list of ignored actors of the AKComponent which handles the click sound. The problem I have with this method is that it requires me to make changes to the AKComponent class so I can expose the array of IgnoreActors to add the hands to it. So my question is this:

Is there built in functionality to ignore actors in occlusion calculations or will I have to modify the integration code?
dans General Discussion par Philip R. (130 points)

1 Réponse

0 votes
You could create two AkComponents; one for your button sound and one for your song. Then, in Blueprints, you can set the occlusion refresh interval to 0 on the AkComponent on which you wish to disable occlusion.
par Benoit S. (Audiokinetic) (16.0k points)
Hi Benoit, thanks for the response!

That sounds like a good plan but there are two problems I have with that solution for my situation. The foley sounds are played using the "Post Event at Location" node so I'm not entirely sure if I can even get a reference to them. The other is that would disable ALL occlusion, I'd prefer it if the occlusion only ignored the hands.
In that case, you're right in saying that the only way to accomplish this is to modify the code to AkComponent. I'll add the request to our backlog, though, as it is a really useful feature to have.

By the way, since the 4.10 integration, there is a "Spawn Ak Component at location" available. This allows you to post an event at a specific location, but also grabbing a reference to the component playing the sound. This would address your first problem, but unfortunately not the second.
...