Ambiera ForumDiscussions, Help and Support. |
|
|
|||||
|
Hi I am not quite clear about the coordenates in the engine.Play3D function. Are they the regular x, y, z rectangular coordenates? I understood that inside this function the listener should be in the 0, 0, 0 position; is it like that? Positive values in X axis take the clip to the right and negative values takes it to the left, right? Positive values in Z axis take the sound to the top and negative values take it to the bottom, correct? Can you explain? Thanks |
||||
|
No, it's simply world coordinates. You can set the listener position and its rotation using engine.setListenerPosition(). It takes position, lookDirection, velocityPerSecond, and upVector, which usually is (0,1,0). |
||||
|
Is there some example for CShart which shows how to use coordenates sound playing and listener position? |
||||
|
Yes, the 3D sound example in the SDK, in the folder examples\02.3DSound Additionally, this tutorial here: http://www.ambiera.com/irrklang/... |
|