play_sound_at_location
Play a sound asset at a specific 3D world location without an audio component, with optional volume, pitch, and rotation. Use it to trigger positional audio in Unreal Engine levels or Blueprints.
Instructions
Plays a sound asset at a specific world location without requiring an audio component.
Returns: { sound_path: string, sound_name: string, location: { x, y, z }, rotation: { pitch, yaw, roll }, volume: number, pitch: number, success: bool }
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pitch | No | Optional pitch multiplier; defaults to 1.0 | |
| volume | No | Optional volume multiplier; defaults to 1.0 | |
| location | Yes | [x, y, z] 3D location to play the sound at | |
| rotation | No | PREFERRED: the OBJECT {"roll":R,"pitch":P,"yaw":Y} (any subset, absent axes are 0). The ARRAY form below is [pitch, yaw, roll] -- its index 2 is ROLL, NOT yaw, which once put a PlayerStart on its side. Optional [pitch, yaw, roll] rotation of the sound (it matters to a directional attenuation) | |
| sound_path | Yes | Full asset path to the sound (e.g. '/Game/Audio/MySound.MySound') |