February 25, 20197 yr Commercial Member We have compiled out from the SimInSDK, a ground friction static library for P3D v4 (These are the VS2017 builds, for earlier builds - VS2015/2013 just PM me) The code auto-updates itself, so no need for recompilation of this lib for future P3D upgrades ! To use is it really simple: 1) Include the header in your VS project and then 2) link the lib (just pick up the one you need, MD / MDd / MTd / MDd) #include "GroundFriction.h" #pragma comment(lib, "GroundFrictionMDd.lib") To use it do: GroundFriction *pGF = new GroundFriction(); double friction = 1.3; pGF->SetGroundFrictionValue(WHEEL_CONCRETE_ROLLING_FRICTION, friction); //Then to read it back pGF->GetGroundFrictionValue(WHEEL_CONCRETE_ROLLING_FRICTION, &friction); You can download it here Let me know if you like it. Thanks Edited February 25, 20197 yr by fs1 Federico Sucari
Archived
This topic is now archived and is closed to further replies.