AudioNodes without attaching to a parent Node

Hi!



I read through most of the topics in the group but i haven’t found a similar question, so…



In the Hello Audio article, i saw that AudioNodes should be attached to a parent Node. In my project i use only non-positional audio (i don’t need any 3D effects). Playing sounds is working fine without attaching AudioNodes to a parent, although i guess it woudn’t be the same case if i would need 3D audio.



My exact question is: could using AudioNodes detached form the scene graph cause any problem (such as memory leaks, etc…)?



Thanks.

1 Like

It should be fine. AudioNode is a little weird as it doesn’t have to be used like a Node. It’s just a convenient wrapper that you can also attach to the scene graph.

2 Likes

Thanks for your reply!