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 | Properties | List of all members
VehiclePhysics.Brakes Class Reference

Classes

class  AbsSettings
 
class  Settings
 

Public Types

enum  AbsMode { AbsMode.Simple, AbsMode.MultiPosition, AbsMode.Continuous }
 
enum  AbsOverride { AbsOverride.None, AbsOverride.ForceEnabled, AbsOverride.ForceDisabled }
 
enum  AbsTrigger { AbsTrigger.PeakSlipOffset, AbsTrigger.CustomSlip }
 
enum  BrakeCircuit { BrakeCircuit.Neutral, BrakeCircuit.Front, BrakeCircuit.Rear, BrakeCircuit.NoBrakes }
 
enum  LateralPosition { LateralPosition.Undefined, LateralPosition.Left, LateralPosition.Right }
 

Public Member Functions

void AddBrakeRatio (float ratio, BrakeCircuit circuit, LateralPosition lateralPosition)
 
void AddWheel (VehicleBase.WheelState wheelState, Wheel wheel, float relPosition=0.0f, LateralPosition lateralPosition=LateralPosition.Undefined)
 
void AddWheel (VehicleBase.WheelState wheelState, Wheel wheel, BrakeCircuit circuit, LateralPosition lateralPosition=LateralPosition.Undefined)
 
void DoUpdate ()
 

Public Attributes

AbsSettings absSettings = new AbsSettings()
 
float brakeInput = 0.0f
 
float handbrakeInput = 0.0f
 
Settings settings = new Settings()
 

Properties

AbsOverride absOverride [get, set]
 
bool sensorAbsEngaged [get]
 

Member Enumeration Documentation

Enumerator
Simple 
MultiPosition 
Continuous 
Enumerator
None 
ForceEnabled 
ForceDisabled 
Enumerator
PeakSlipOffset 
CustomSlip 
Enumerator
Neutral 
Front 
Rear 
NoBrakes 
Enumerator
Undefined 
Left 
Right 

Member Function Documentation

void VehiclePhysics.Brakes.AddBrakeRatio ( float  ratio,
BrakeCircuit  circuit,
LateralPosition  lateralPosition 
)
inline
void VehiclePhysics.Brakes.AddWheel ( VehicleBase.WheelState  wheelState,
Wheel  wheel,
float  relPosition = 0.0f,
LateralPosition  lateralPosition = LateralPosition.Undefined 
)
inline
void VehiclePhysics.Brakes.AddWheel ( VehicleBase.WheelState  wheelState,
Wheel  wheel,
BrakeCircuit  circuit,
LateralPosition  lateralPosition = LateralPosition.Undefined 
)
inline
void VehiclePhysics.Brakes.DoUpdate ( )
inline

Member Data Documentation

AbsSettings VehiclePhysics.Brakes.absSettings = new AbsSettings()
float VehiclePhysics.Brakes.brakeInput = 0.0f
float VehiclePhysics.Brakes.handbrakeInput = 0.0f
Settings VehiclePhysics.Brakes.settings = new Settings()

Property Documentation

AbsOverride VehiclePhysics.Brakes.absOverride
getset
bool VehiclePhysics.Brakes.sensorAbsEngaged
get

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