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.VPAntiRollBar Class Reference
Inheritance diagram for VehiclePhysics.VPAntiRollBar:
VehiclePhysics.VehicleBehaviour

Public Types

enum  Mode { Mode.Stiffness, Mode.SpringRate, Mode.Legacy }
 

Public Member Functions

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 int GetUpdateOrder ()
 
virtual void OnDisableComponent ()
 
virtual void OnDisableVehicle ()
 
virtual void OnEnableComponent ()
 
virtual void OnEnterPause ()
 
virtual void OnLeavePause ()
 
virtual void OnReposition ()
 
virtual void UpdateVehicle ()
 

Public Attributes

float antiRollRate = 20000.0f
 
int axle = 0
 
Mode mode = Mode.Stiffness
 
float rigidity = 0.5f
 
float springRate = 20000.0f
 
float stiffness = 0.5f
 

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
Stiffness 
SpringRate 
Legacy 

Member Function Documentation

override void VehiclePhysics.VPAntiRollBar.OnEnableVehicle ( )
inlinevirtual

Reimplemented from VehiclePhysics.VehicleBehaviour.

override void VehiclePhysics.VPAntiRollBar.UpdateVehicleSuspension ( )
inlinevirtual

Reimplemented from VehiclePhysics.VehicleBehaviour.

Member Data Documentation

float VehiclePhysics.VPAntiRollBar.antiRollRate = 20000.0f
int VehiclePhysics.VPAntiRollBar.axle = 0
Mode VehiclePhysics.VPAntiRollBar.mode = Mode.Stiffness
float VehiclePhysics.VPAntiRollBar.rigidity = 0.5f
float VehiclePhysics.VPAntiRollBar.springRate = 20000.0f
float VehiclePhysics.VPAntiRollBar.stiffness = 0.5f

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