Ambiera Forum

Discussions, Help and Support.

Ambiera Forum > irrKlang
SetListenerPosition

mauro
Registered User
Quote
2016-02-18 12:21:02

Is in the documentation a explanation about how to set the parameters of SetListenerPosition function?

engine.SetListenerPosition(0, 0, 0, 0, 0, 1);

Can you explain them?

I can asume that the first 3 parameters are regular 3D coordinates, is it right?
What about the other 3 parameters?

Thanks


erik
Registered User
Quote
2016-02-18 17:53:05

Its Position, LookDirection, VelocityPerSecond, and UpVector. All of them but the first are optional. So
Position.X, Position.Y, Position.Z, LookDirection.X, LookDirection.Y, LookDirection.Z for the one you wrote.


Create reply:


Posted by: (you are not logged in)


Enter the missing letter in: "In?ernational" (you are not logged in)


Text:

 

  

Possible Codes


Feature Code
Link [url] www.example.com [/url]
Bold [b]bold text[/b]
Image [img]http://www.example.com/image.jpg[/img]
Quote [quote]quoted text[/quote]
Code [code]source code[/code]

Emoticons


   






Copyright© Ambiera e.U. all rights reserved.
Privacy Policy | Terms and Conditions | Imprint | Contact