plane icon Welcome to Microsoft Flight Simulator’s SDK Q&A Platform!

You have questions regarding the SDK? DevMode Tools? SimConnect? You would like to submit an idea for future improvements, seek help or exchange knowledge? You’re in the right place.

Please take a moment to read the platform’s guidelines before you get started!

Idea

evanburnsdev avatar image
evanburnsdev suggested

Enable "CAMERA POS IN PLANE" simvar for simconnect

This data allows you to get the current camera position as it moves through the cockpit.

This simvar is readable via coherent and SimVar.GetGameVarValue within javascript, and you can set L:vars to read via the gauge api. This workaround sacrifices a few frames and causes a noticeable lag when simulating collimation.

Having this simvar readable directly with simconnect will mitigate the lag.

Having it readable via the gauge api would be a bonus, but I don't think reading xyz structs via "execute_calculator_code" or "aircraft_varget" is possible, unless I'm mistaken.

simconnectgaugeswasm
10 |10000 characters needed characters left characters exceeded

Up to 5 attachments (including images) can be used with a maximum of 4.8 MiB each and 23.8 MiB total.

No Comments

· Write a Comment

Write a Comment

Up to 5 attachments (including images) can be used with a maximum of 4.8 MiB each and 23.8 MiB total.

Your Opinion Counts

Share your great idea, or help out by voting for other people's ideas.