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.

Unreal: can you subclass AkAcousticPortal? What about spawning an Acoustic Portal at runtime?

0 votes
I'm trying to figure out how to have my door blueprint automatically have an attached acoustic portal in UE4.26.

There's an AkPortal component, but it doesn't seem to have any geometry to it - no box that I can size and place?

I was thinking I could just make my door a subclass of AkAcousticPortal - but that does not show up as an actor I can subclass in the editor...

Finally, I was thinking I could have the door spawn an AkAcousticPortal actor and size it to match a guide box I attach to my door - but AkAcousticPortal does not show up in the list of actors I can spawn?

Any suggestions?

Thanks!
asked Sep 10 in General Discussion by Bob S. (160 points)

2 Answers

0 votes
The AkPortal component needs to be attached to a BoxCollisionComponent.  Add the BoxCollisionComponent to your door blueprint and then make your AkPortalComponent a child of that box.  Once you've done that you can resize the BoxComponent and your portal will follow.
answered Sep 21 by Zachary S. (140 points)
–1 vote
From what I gather, AkAcousticPortals derive from AVolumes which derive from brushes, which cannot be created at runtime unless you're using editor modules.
answered Sep 21 by Vioxtar (160 points)
...