docs/style.md, docs/glossary.md, style checks DOC010–DOC023 and docs report; the site in a light theme; the Editor, Aego Script, Gameplay, Physics, Scenes, Rendering, Tools and Reference sections rewritten.
15 lines
459 B
Markdown
15 lines
459 B
Markdown
---
|
|
code: AUD004
|
|
severity: info
|
|
title: "Spatial sound without a listener"
|
|
example: AUD004.aescene
|
|
---
|
|
|
|
A spatial Audio Source 2D pans and fades by distance to the active Audio Listener 2D.
|
|
|
|
**Fix.** Add an Audio Listener 2D to the player or the camera when you want the sound heard from somewhere else.
|
|
|
|
## Details
|
|
|
|
The scene has none, so the sound is heard from the camera. This is information, not an error: a game with one camera often wants exactly that.
|