Game Development Community

Audio listener position and direction separate from camera or player position and direction

by Playware · in Torque Game Engine · 07/14/2010 (9:04 am) · 1 replies

Is it possible to separate the audio listener's position and direction from the camera/player position and direction?
If yes, then how can it be done? Thanks.

#1
08/02/2010 (4:10 am)
I got to separate the ear position from the camera. Modified the engine and added the offset number in script.

This is good for a single screen interface. But this will become a problem for multiple screen interface. First the ear offset position follows the server camera position (which is correct) but then when a client joins the server, the ear position now follows the client's camera position (expected behavior is that the client should have its own ear position offset separate from the server's camera position).

Apparently, Torque's sound system has only 1 set of ears for 1 camera. I would like to know how to add multiple set of ears for 1 camera.