Skip to main content

Audio

Sound brings your HELIX world to life. The audio system supports 2D sounds (music, UI feedback), 3D spatial audio (footsteps, gunshots, engines), and ambient soundscapes. Under the hood, HELIX leverages Unreal Engine 5's MetaSounds for high-quality, procedural audio.

Playing Soundsโ€‹

Create a Sound instance with the bIs2D parameter set to true for non-spatial audio like UI clicks or background music.

Blueprintโ€” Play a 2D UI click soundScroll to zoom ยท Drag to pan ยท Drag nodes to move
Event BeginPlaySpawn SoundLocation(0, 0, 0)Sound Asset"UI/Click"Is 2DtrueAuto DestroytrueVolume0.8Pitch1.0Sound

3D Spatial Audioโ€‹

For sounds that should come from a specific place in the world, use 3D audio by setting bIs2D to false. Players will hear them louder as they get closer and from the correct direction based on their position and orientation. You configure the inner radius and falloff distance for attenuation.

Blueprintโ€” Spawn a 3D spatial explosion soundScroll to zoom ยท Drag to pan ยท Drag nodes to move
Event BeginPlaySpawn SoundLocation(2000, 500, 0)Sound Asset"Explosion"Is 2DfalseAuto DestroytrueVolume1.0Pitch1.0Radius400Falloff Distance5000Sound

Once created, you can control playback with Play, Stop, FadeIn, FadeOut, SetPaused, and adjust properties like SetVolumeMultiplier and SetPitchMultiplier.

Ambient Soundscapesโ€‹

For background atmosphere โ€” wind, birds, rain โ€” you can place ambient sound emitters throughout your world. These blend together as players move through different areas, creating a rich audio landscape.

The distance parameter on spatial sounds controls the falloff radius. Use larger values (10,000+ cm) for ambient emitters that should cover a wide area, and smaller values for precise effects like a crackling campfire.

tip

MetaSounds in UE5 lets you build procedural audio graphs that react to game parameters in real time. This is perfect for dynamic engine sounds, weather audio, or adaptive music that responds to gameplay intensity.

โœจ