godotengine / godot

Godot Engine – Multi-platform 2D and 3D game engine
https://godotengine.org
MIT License
88.93k stars 20.17k forks source link

Usability issues with AudioStreamPlayer3D attenuation model #23485

Open Zylann opened 5 years ago

Zylann commented 5 years ago

From the few times I had to use AudioStreamPlayer3D, I faced several annoyances that I believe could get improvements, in particular with the attenuation model.

In frameworks and engines I used in the past, the attenuation model of a 3D sound has the following features:

On the other hand, in Godot:

Here are extra things that could enhance usability:

I know some of this can be eventually scripted, but please at least give some consideration to the first part :)

fire commented 5 years ago

There is no visualization of attenuation min/max radius in the main viewport

I think we should use the omni light visualization / gizmo.