Const
Positional audio emitter that can follow an object.
Attaches a 3D sound source to a moving object or world position. Supports distance-based attenuation and occlusion.
<AudioEmitter url="/sounds/engine_hum.mp3" follow={carRef} refDistance={2} maxDistance={20}/> Copy
<AudioEmitter url="/sounds/engine_hum.mp3" follow={carRef} refDistance={2} maxDistance={20}/>
Positional audio emitter that can follow an object.
Attaches a 3D sound source to a moving object or world position. Supports distance-based attenuation and occlusion.