game_audio_spatial
game_audio_spatialConfigure spatial audio properties for 3D sound sources, including distance attenuation and volume control.
Instructions
Configure AudioStreamPlayer3D spatial properties
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"nodePath": "<nodePath>",
"action": "<action>"
},
"name": "game_audio_spatial"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| maxDb | No | Maximum volume in dB | |
| action | Yes | Action: configure, get_info | |
| nodePath | Yes | Path to AudioStreamPlayer3D | |
| unitSize | No | Unit size for distance attenuation | |
| maxDistance | No | Maximum audible distance | |
| attenuationModel | No | Model: inverse, inverse_square, logarithmic |