cat555
Member
|
3D sound positioning and reference point
Hi,
I'm using 3D sound with success, but it stays always relative to Vec(0,0,0) point by default. How to position that reference point in - "ears" position - in Camera position (Cam.at), for example?
Thanks!
|
|
09-04-2014 05:39 PM |
|
Zervox
Member
|
RE: 3D sound positioning and reference point
Listener.orn(Cam.matrix.z, Cam.matrix.y) // set listener orientation (from camera)
.pos(Cam.matrix.pos); // set listener position (from camera)
|
|
09-04-2014 05:51 PM |
|
cat555
Member
|
RE: 3D sound positioning and reference point
Many thanks Zervox... works perfectly
|
|
09-04-2014 05:59 PM |
|