First you must define the radius of the sphere, or spheroid, which wraps the listener.
pSoundListener->SetWorldRadius(radius); pSoundListener->SetWorldRadius(xRadius, yRadius); pSoundListener->SetWorldRadius(xRadius, yRadius, zRadius);Out of the defined spheroid, the listener will not listen anything.
Later you must define the position of the sounds:
pSound->SetPosition(x, y, z);
Finally you can change the position of the listener (default 0, 0, 0) and the position of the sound objects that appear in the screen.
No hay comentarios:
Publicar un comentario