Implementing an externalsim physics module

For topics related to the creation of simulation objects (SimObjects). This includes development of aircraft, ground, and maritime vehicles.
fred64
Posts: 1
Joined: Sun Apr 01, 2012 4:25 pm

Implementing an externalsim physics module

Postby fred64 » Fri Jun 08, 2018 3:49 pm

Hello,
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...

http://www.prepar3d.com/SDKv4/sdk/simco ... 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...

Fred

Mike Schroeter
Lockheed Martin
Posts: 248
Joined: Thu Jan 12, 2012 7:05 pm

Re: Implementing an externalsim physics module

Postby Mike Schroeter » Tue Jun 12, 2018 7:33 pm

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: http://www.prepar3d.com/SDKv4/sdk/simul ... ct_Samples

Mike


Return to “Simulation Object Development Questions”

Who is online

Users browsing this forum: No registered users and 1 guest