3DSound Wrong ?

Blitz3D Forums/Blitz3D Programming/3DSound Wrong ?

Barton(Posted 2004) [#1]
I have 3DSound System in my Game. If fly a Enemy of the left to the right is the 3D Sound-Balance (L & R) Wrong !!
If Enemy left on the Screen = Sound playing of Right
If Enemy right on the Screen = Sound playing of Left

I have this testet with 2 Computer.result always be.

Is this a Bug in Blitz3D ???


ChrML(Posted 2004) [#2]
Is your listener rotated correct (same rotation as camera)?

PositionEntity mylistener,EntityX(camera),EntityY(camera),EntityZ(camera)
RotateEntity mylistener,EntityPitch(camera),EntityYaw(camera),EntityRoll(camera)

Ofcourse the listener's rotation for it to know what's left, and what's right.


Barton(Posted 2004) [#3]
Thanks,

Listener is a Entity ? :)
I didn't know.

i have now Turn the Listener 180° and Add to Camera as Parent.

Work fine. :)