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

Public Types

enum  Model { Model.Constant, Model.Linear, Model.Quadratic }
 

Public Member Functions

override void FixedUpdateVehicle ()
 
- Public Member Functions inherited from VehiclePhysics.VehicleBehaviour
void DebugLogError (string message)
 
void DebugLogWarning (string message)
 
virtual int GetUpdateOrder ()
 
virtual void OnDisableComponent ()
 
virtual void OnDisableVehicle ()
 
virtual void OnEnableComponent ()
 
virtual void OnEnableVehicle ()
 
virtual void OnEnterPause ()
 
virtual void OnLeavePause ()
 
virtual void OnReposition ()
 
virtual void UpdateVehicle ()
 
virtual void UpdateVehicleSuspension ()
 

Public Attributes

float coefficient = 0.05f
 
float[] frictionFactors = new float[0]
 
Model model = Model.Constant
 
bool showDebugLabel = false
 

Additional Inherited Members

- Protected Member Functions inherited from VehiclePhysics.VehicleBehaviour
virtual VehicleBase GetVehicle ()
 
- Properties inherited from VehiclePhysics.VehicleBehaviour
VehicleBase vehicle [get, set]
 

Member Enumeration Documentation

Enumerator
Constant 
Linear 
Quadratic 

Member Function Documentation

override void VehiclePhysics.VPRollingFriction.FixedUpdateVehicle ( )
inlinevirtual

Reimplemented from VehiclePhysics.VehicleBehaviour.

Member Data Documentation

float VehiclePhysics.VPRollingFriction.coefficient = 0.05f
float [] VehiclePhysics.VPRollingFriction.frictionFactors = new float[0]
Model VehiclePhysics.VPRollingFriction.model = Model.Constant
bool VehiclePhysics.VPRollingFriction.showDebugLabel = false

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