Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AudioListener2D ignores rotation for positional audio #69025

Closed
Tracked by #76797
Uxeron opened this issue Nov 22, 2022 · 0 comments · Fixed by #69027
Closed
Tracked by #76797

AudioListener2D ignores rotation for positional audio #69025

Uxeron opened this issue Nov 22, 2022 · 0 comments · Fixed by #69027

Comments

@Uxeron
Copy link
Contributor

Uxeron commented Nov 22, 2022

Godot version

v4.0.beta5.official [89a33d2]

System information

Windows 10

Issue description

When using an AudioListener2D with AudioStreamPlayer2D, only the position is taken into account for the positional audio calculation, but rotation is ignored.
Without and active AudioListener2D, the positional audio works fine both when changing position and rotation.

Steps to reproduce

Open and run the attached reproduction project.
Move around by dragging with left mouse button, rotate by dragging left/right with the right mouse button.
Pressing Space enables/disables AudioListener2D.

Notice that when the listener is disabled, both moving and rotating sounds fine, but with it enabled, rotation is ignored (which leads to some very weird audio when the listener has both been moved and rotated)

Minimal reproduction project

AudioListener2DTest.zip

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants