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

Public Member Functions

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

Static Public Member Functions

static float ComputeDamperForce (float speed, float slowRate, float fastRate, float speedSplit)
 
static float ComputeDamperRate (float speed, float slowRate, float fastRate, float speedSplit)
 

Public Attributes

int axle = 0
 
float bumpSpeedSplit = 0.127f
 
float fastBumpRate = 1000.0f
 
float fastReboundRate = 2000.0f
 
float reboundSpeedSplit = 0.127f
 
float slowBumpRate = 1500.0f
 
float slowReboundRate = 2800.0f
 

Additional Inherited Members

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

Member Function Documentation

float VehiclePhysics.VPAdvancedDamper.ComputeDamperForce ( float  speed)
inline
static float VehiclePhysics.VPAdvancedDamper.ComputeDamperForce ( float  speed,
float  slowRate,
float  fastRate,
float  speedSplit 
)
inlinestatic
float VehiclePhysics.VPAdvancedDamper.ComputeDamperRate ( float  speed)
inline
static float VehiclePhysics.VPAdvancedDamper.ComputeDamperRate ( float  speed,
float  slowRate,
float  fastRate,
float  speedSplit 
)
inlinestatic
override int VehiclePhysics.VPAdvancedDamper.GetUpdateOrder ( )
inlinevirtual

Reimplemented from VehiclePhysics.VehicleBehaviour.

override void VehiclePhysics.VPAdvancedDamper.OnEnableVehicle ( )
inlinevirtual

Reimplemented from VehiclePhysics.VehicleBehaviour.

override void VehiclePhysics.VPAdvancedDamper.UpdateVehicleSuspension ( )
inlinevirtual

Reimplemented from VehiclePhysics.VehicleBehaviour.

Member Data Documentation

int VehiclePhysics.VPAdvancedDamper.axle = 0
float VehiclePhysics.VPAdvancedDamper.bumpSpeedSplit = 0.127f
float VehiclePhysics.VPAdvancedDamper.fastBumpRate = 1000.0f
float VehiclePhysics.VPAdvancedDamper.fastReboundRate = 2000.0f
float VehiclePhysics.VPAdvancedDamper.reboundSpeedSplit = 0.127f
float VehiclePhysics.VPAdvancedDamper.slowBumpRate = 1500.0f
float VehiclePhysics.VPAdvancedDamper.slowReboundRate = 2800.0f

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