XML Gauge: ACTIVE EYEPOINT HEADING usage?

SDK supports Prepar3D’s philosophy of an open development architecture and encourages third parties to bring new innovations with improved add-ons and training content.
Locked
Jason_25
Posts: 8
Joined: Mon Aug 01, 2016 9:36 pm

XML Gauge: ACTIVE EYEPOINT HEADING usage?

Post by Jason_25 »

This is my current usage:

Code: Select all

(P:ACTIVE EYEPOINT HEADING, degrees) (>L:HMD_HEADING, degrees)
As you can see I am converting it into a variable that is "visible" to me on screen so that I can see what is being returned. Unfortunately it always seems to return zero.

"ACTIVE EYEPOINT LLA" would be similarly useful to me but I don't understand how to use a "structure" data type which I assume is some kind of array.

How could I get something useful out of these commands?
Jason_25
Posts: 8
Joined: Mon Aug 01, 2016 9:36 pm

Re: XML Gauge: ACTIVE EYEPOINT HEADING usage?

Post by Jason_25 »

From what I understand this is a red herring and these variables are set at initialization time from the config only. So they do not seem to change dynamically and do what I was wanting to do. I settled for doing something much simpler than reading the camera direction. I just read a joystick button input to represent moving the HMD to a certain coordinates instead.
Locked