A FlxSound that pans left and right based on the camera position in 3D.
Constructor
Variables
panStrength:Float = 0.85
The strength of the stereo panning.
A value of 1.0 means pan fully left or right,
A value of 0.5 means pan left, while right is still audible, and viceversa.
A value of 0.0 means no panning, and negative values inverts the panning.
range:Float = 100
The sound range in world units.
Note: The attenuation power follows the Inverse Square Law for realistic effects.