how can i make it so when i walk away from an ambient sound and come back the sound continues playing?
every time i walk away from the sound it goes quite like i want it but when i go too far the sound/song stop playing? and won’t start and or continue playing. could anyone help me thanks
Instead of resuming just re-launch the sound once the player is at a certain distance. You can also possibly write a small functionality that save the time the sound stopped playing and the current play position, then when the player is near enough it will take the current time, subtract the saved time, and figure out at what position to play the sound again.
Also check out this similar question that have been posted recently: