AudioStreamPlayer2D max distance
I am trying my first game in Godot (and in forever too), and am trying to implement some sound effect.
The variable max_distance is interesting, however, I am doing a 2D platformer which work with a camera 2D. And this max_distance seems to be related to the origin of the canvas. I would like it to be related to the distance of the center of the camera, or the player coordinates.
Is there something I didn't do? understand?