Kerbal Space Program  1.12.4
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros
Classes | Public Types | Public Member Functions | Public Attributes | List of all members
VehiclePhysics.TireFriction Class Reference
Inheritance diagram for VehiclePhysics.TireFriction:

Classes

class  ContactPatch
 
class  CurveBase
 
class  FlatFriction
 
class  LinealFriction
 
class  PacejkaFriction
 
class  ParametricFriction
 
class  Settings
 
class  SmoothFriction
 

Public Types

enum  Model {
  Model.Flat, Model.Lineal, Model.Smooth, Model.Parametric,
  Model.Pacejka
}
 

Public Member Functions

Vector2 GetAdherentForce (ContactPatch cp)
 
Vector2 GetAdherentSlipBounds (ContactPatch cp)
 
float GetAdherentSlipForward (ContactPatch cp)
 
float GetAdherentSlipSideways (ContactPatch cp)
 
Vector2 GetForce (ContactPatch cp)
 
Vector2 GetLimitSlipBounds (ContactPatch cp)
 
Vector2 GetPeakSlipBounds (ContactPatch cp)
 
bool IsAdherentSlip (ContactPatch cp)
 
void OnAfterDeserialize ()
 
void OnBeforeSerialize ()
 
void SetupFrictionCurves ()
 
 TireFriction ()
 

Public Attributes

float frictionMultiplier = 1.0f
 
Model model = Model.Smooth
 
Settings settings = new Settings()
 

Member Enumeration Documentation

Enumerator
Flat 
Lineal 
Smooth 
Parametric 
Pacejka 

Constructor & Destructor Documentation

VehiclePhysics.TireFriction.TireFriction ( )
inline

Member Function Documentation

Vector2 VehiclePhysics.TireFriction.GetAdherentForce ( ContactPatch  cp)
inline
Vector2 VehiclePhysics.TireFriction.GetAdherentSlipBounds ( ContactPatch  cp)
inline
float VehiclePhysics.TireFriction.GetAdherentSlipForward ( ContactPatch  cp)
inline
float VehiclePhysics.TireFriction.GetAdherentSlipSideways ( ContactPatch  cp)
inline
Vector2 VehiclePhysics.TireFriction.GetForce ( ContactPatch  cp)
inline
Vector2 VehiclePhysics.TireFriction.GetLimitSlipBounds ( ContactPatch  cp)
inline
Vector2 VehiclePhysics.TireFriction.GetPeakSlipBounds ( ContactPatch  cp)
inline
bool VehiclePhysics.TireFriction.IsAdherentSlip ( ContactPatch  cp)
inline
void VehiclePhysics.TireFriction.OnAfterDeserialize ( )
inline
void VehiclePhysics.TireFriction.OnBeforeSerialize ( )
inline
void VehiclePhysics.TireFriction.SetupFrictionCurves ( )
inline

Member Data Documentation

float VehiclePhysics.TireFriction.frictionMultiplier = 1.0f
Model VehiclePhysics.TireFriction.model = Model.Smooth
Settings VehiclePhysics.TireFriction.settings = new Settings()

The documentation for this class was generated from the following file: