Well… you can simulate it.
You may want to take this simple example and expand it by using a formula for sound level vs distance, but I just used a simple linear concept for this example.
I also confined it to moving an object moving in a single axis. You could also define a radius from a given object if desired the concept is the same.
I also decided that while the object was a distance less than 1 the volume would not be affected. I did this because dividing the volume by extremely low numbers would yield numbers greater than the starting volume which I did not desire.
Unfortunately, Verge does not have spatial puzzles or panning ability. But you could add panning by running two different audio files for right and left and play the corresponding one depending on the relation to the object emitting sound.
Scene setup.
Can be any object…I used a cone.
that’s all you need.
Good Luck
Attachments:
You must be
logged in to view attached files.