I am doing some kind of space simulator and needed a camera which follows the space ship with rotation etc. The easiest solution and for now “okay” was to group the camera and the space ship and move the parent through space (A non grouped camera with this behaviour is really hard to find).
So that works till here. Now, the space ship shall have an engine sound. So I created a sound and attached it to the ship. When I now move the parent, the sound is going away and can not be heared.
I found out, that the sound itself is moving with the ship, but the camera position behaves, as it never has been moved.
The second one: https://playground.babylonjs.com/#EDVU95#11 <= camera is part of group and is moving with the whole group, but the sound will go away if you move to far, even if its direct next to the box, which the sound is attached to.
I did it, but the behaviour is the same. The sound is going away, even if its next to the source of the sound.
EHHHM. I’m sorry. I seems to work. I don’t know what happened. I tried your playground and I tried it in my own source and it didn’t work. Now I tried that again and it DOES work.