summaryrefslogtreecommitdiff
path: root/scene/2d
diff options
context:
space:
mode:
authorHugo Locurcio <hugo.locurcio@hugo.pro>2022-08-07 22:45:05 +0200
committerHugo Locurcio <hugo.locurcio@hugo.pro>2022-08-09 18:46:52 +0200
commit160d10dc7b09437d77d46517bc69fd8f0ff6eb73 (patch)
tree7e3e7d270f621f993ea0b175e1fc2811bd21f351 /scene/2d
parentc2eaaef1497f8ad557aea9a14e2b3e0582fcfe54 (diff)
Decrease default AudioStreamPlayer2D/3D panning strength
The default panning strength is now more in line with how other engines play positional sound.
Diffstat (limited to 'scene/2d')
-rw-r--r--scene/2d/audio_stream_player_2d.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/scene/2d/audio_stream_player_2d.h b/scene/2d/audio_stream_player_2d.h
index d1c4dc4fdf..c771bb6d5f 100644
--- a/scene/2d/audio_stream_player_2d.h
+++ b/scene/2d/audio_stream_player_2d.h
@@ -82,7 +82,7 @@ private:
float attenuation = 1.0;
float panning_strength = 1.0f;
- float cached_global_panning_strength = 1.0f;
+ float cached_global_panning_strength = 0.5f;
protected:
void _validate_property(PropertyInfo &property) const override;