Different Eyepoint with PDK
Posted: Tue Nov 19, 2019 7:27 pm
We have managed to get the eyepoint offset from the PDK using GetCameraOffset() successfully. We have also successfully gotten data from GetLLARadians and GetPBHRadians.
However, using GetCameraOffset() only gives us the offset from the default Virtual cockpit eyepoint, as it is specified in aircraft.cfg. When switching to a different virtual cockpit camera, the output from GetCameraoffset() is frozen to the last known position of the default eyepoint and does not update to correspond with the current camera and its position.
Therefore, the question is: how do we get from the PDK the active camera the user has switched to and gives the eyepoint offset for that camera?
However, using GetCameraOffset() only gives us the offset from the default Virtual cockpit eyepoint, as it is specified in aircraft.cfg. When switching to a different virtual cockpit camera, the output from GetCameraoffset() is frozen to the last known position of the default eyepoint and does not update to correspond with the current camera and its position.
Therefore, the question is: how do we get from the PDK the active camera the user has switched to and gives the eyepoint offset for that camera?