Jump to content
Sign in to follow this  
fs1

AutoUpdated Ground Friction Libs for P3D

Recommended Posts

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 by fs1

Federico Sucari

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Tom Allensworth,
    Founder of AVSIM Online


  • Flight Simulation's Premier Resource!

    AVSIM is a free service to the flight simulation community. AVSIM is staffed completely by volunteers and all funds donated to AVSIM go directly back to supporting the community. Your donation here helps to pay our bandwidth costs, emergency funding, and other general costs that crop up from time to time. Thank you for your support!

    Click here for more information and to see all donations year to date.
×
×
  • Create New...