Hi guys.
I know there’s an Audio Listener component, but it seems to be purely for cameras, for the player to hear sounds.
I’d like to make ingame objects(actors) able to ‘hear’ sounds, maybe fire off an event with info about the volume, etc. I’d like to be able to know how loud a sound is at a specific point in space.
i had seen a Unity project, think it was on the asset store but i cant find it,
i was looking for microphone input,
but any audiosource should work… id think? dunno
… guess they use the old audio system , shouldnt be too hard to rework it to new one
Typically you would do this in a cheaper fashion, just use something like an overlap sphere to fire off events to everything in range on each sound. Actually processing the various sounds to get something meaningful is typically more expensive then is warranted.
If you still want the effect then you’ll have to code it yourself or find an asset. Unity doesn’t have anything built in for this.