About Store Forum Documentation Contact



Post Reply 
3D sound positioning and reference point
Author Message
cat555 Offline
Member

Post: #1
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 smile - in Camera position (Cam.at), for example?

Thanks!
09-04-2014 05:39 PM
Find all posts by this user Quote this message in a reply
Zervox Offline
Member

Post: #2
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
Find all posts by this user Quote this message in a reply
cat555 Offline
Member

Post: #3
RE: 3D sound positioning and reference point
Many thanks Zervox... works perfectly smile
09-04-2014 05:59 PM
Find all posts by this user Quote this message in a reply
Post Reply