menu
 

在 Audiokinetic 社区问答论坛上,用户可对 Wwise 和 Strata 相关问题进行提问和解答。如需从 Audiokinetic 技术支持团队获取答复,请务必使用技术支持申请单页面。

0 投票
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!
分类:General Discussion | 用户: Bob S. (230 分)

2 个回答

0 投票
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.
用户: Zachary S. (160 分)
–1 投票
From what I gather, AkAcousticPortals derive from AVolumes which derive from brushes, which cannot be created at runtime unless you're using editor modules.
用户: Vioxtar (370 分)
...