External DLL - Simulation.ExternalPosition/ExternalOrientation Broken?

  • Hello,

    I'm trying to use FS2 with an external simulation via the external DLL Simulation.ExternalPosition/ExternalOrientation functionality. I'm having trouble getting example 6 of the external DLL sample working (set the aircraft's position and orientation from your dynamics model)... I was able to get example 1 to work (change time of day continuously)

    I saw this (External DLL interface no longer works properly) thread that suggests some parts of the external DLL functionality are currently broken.

    Is it expected that the Simulation.ExternalPosition/ExternalOrientation functionality is currently non-functional? Any chance there's a timeline for a fix yet?

    Thanks

  • I've updated to the latest SDK, but am still having problems.

    I've uncommented example 6 in the attached aerofly_fs_2_external_dll_sample.cpp, compiled and place it into the "Documents/Aerofly FS 2/external_dll/" directory. When FS2 launches, I see the "AeroFly External DLL Example" output window show, so I know the DLL is loading, but the aircraft's position and orientation do not change based on the code, they seem to still be driven by the internal dynamics model instead of the DLL.

    Side note, The tmcoordinates_PositionFromLatLonAlt function seems to have been removed from the latest SDK, but it still seems necessary to get example 6 working with lat/lon. I tried adding back in the version from aerofly_fs_2_sdk_tools_20180823, and uncommenting the lat/lon related code from example 6, but the behavior is still the same - the aircraft's position/orientation do not seem to be updated by the DLL.