Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

Is it Possible to Have Sound Only in Certain Areas?

Asked by 4 years ago

So, audio comes out of bricks with some kind of radius and volume, etc. But is there a way to make it so your physical character has to be close enough to a particular brick (or within a particular region) to hear a certain music track.

My problem with the way sound naturally works is that only your camera has to be a certain distance away from the brick - not your character.

If anyone can help me with this, I would greatly appreciate it. Thanks in advance.

0
I think there is a sound distance property in the Sound object. I’m not sure though. 123nabilben123 499 — 4y

1 answer

Log in to vote
0
Answered by 4 years ago

You could trying using events although it isn't the most accurate. So I would recommend using Region3. And if that doesn't work well I'd go with using magnitude and stuff like that. Though I'm not very familiar with magnitude myself. Hopefully this help you even just a little bit.

Ad

Answer this question