Hey all, is it possible to trigger an event on the overlapping of an attenuation sphere WITHOUT using a tick?
TiA
Hey all, is it possible to trigger an event on the overlapping of an attenuation sphere WITHOUT using a tick?
TiA
Hi, I don’t think so that there is such event, as attenuation is not physical shape with collision. This is only set of settings that affect audio, of course you can see the shape in the editor, but it’s only a drawing, not physical collision.
To achieve what you want, you can probably use separate SphereCollision component and set it’s radius based on attenuation. Then you can get overlapping event.
I have done something similar to this, although I want the functionality to be contained within a Scene Component (therefor I can’t have components in the same way a normal BP does).
Do you think there’s a cleaner way of setting the Trigger Sphere’s radius?
Thanks
I’m not sure how you handle audio, but if you are using SceneComponent (not AudioComponent) then maybe your component could inherit from USphereComponent instead? Then you can have all your functionality and also collision component functionality.