Page 1 of 1

Implementing an externalsim physics module

Posted: Fri Jun 08, 2018 3:49 pm
by fred64
I am the author of an FSX physics library called helicopter total realism (HTR) that alters helicopter physics using FSUIPC Managed.

I am looking for the best way integrate it into P3D with a dedicated library or separate .exe that will completely override existing helicopter physics like in this example that seems to be deprecated... ... rview.html

I see the recommended option would be to use the Simobject API, but this would be a bit of an overkill as I just need to change the physics behavior...

Ideally I would like to be able to use an existing helicopter or aircraft and change the cfg file to point to the external library.

I am kind of new to P3D SDK so I might have missed something... thank you for your understanding...


Re: Implementing an externalsim physics module

Posted: Tue Jun 12, 2018 7:33 pm
by Mike Schroeter
The SimObject API is currently the supported way of replacing the simulation. At this time there is not really a way to separate the physics (aero, engines, ground reaction) from other systems such as engines and electrical in the native aircraft simulation.

You can also look at the Subsystem sample which shows a way to supplement the native simulation with some external code: ... ct_Samples