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.Driveline Class Reference

Classes

class  Settings
 

Public Types

enum  DrivenAxles {
  DrivenAxles.None, DrivenAxles.SingleAxle, DrivenAxles.TwoAxles, DrivenAxles.ThreeAxles,
  DrivenAxles.FourAxles
}
 
enum  FourAxlesConfig {
  FourAxlesConfig.DualInterAxleAndCenterDifferential, FourAxlesConfig.DualInterAxleDifferentialAndTorqueSplitter, FourAxlesConfig.DualHDriveAndCenterDifferential, FourAxlesConfig.DualHDriveAndTorqueSplitter,
  FourAxlesConfig.FullHDrive
}
 
enum  Override { Override.None, Override.ForceLocked, Override.ForceUnlocked }
 
enum  ThreeAxlesConfig { ThreeAxlesConfig.HDriveAndCenterDifferential, ThreeAxlesConfig.HDriveAndTorqueSplitterAtLinkedAxles, ThreeAxlesConfig.HDriveAndTorqueSplitterAtIndependentAxle }
 
enum  TwoAxlesConfig { TwoAxlesConfig.CenterDifferential, TwoAxlesConfig.TorqueSplitter, TwoAxlesConfig.HDrive }
 

Public Member Functions

float GetAxleFinalRatio (int axle)
 
void SetupDriveline (Wheel[] wheels, Block powerTrainOutput)
 

Public Attributes

Differential.Settings axleDifferential = new Differential.Settings()
 
Differential.Settings centerDifferential = new Differential.Settings()
 
Differential.Settings interAxleDifferential = new Differential.Settings()
 
Settings settings = new Settings()
 
TorqueSplitter.Settings torqueSplitter = new TorqueSplitter.Settings()
 

Properties

Override differentialOverride [get, set]
 
Override drivelineOverride [get, set]
 

Member Enumeration Documentation

Enumerator
None 
SingleAxle 
TwoAxles 
ThreeAxles 
FourAxles 
Enumerator
DualInterAxleAndCenterDifferential 
DualInterAxleDifferentialAndTorqueSplitter 
DualHDriveAndCenterDifferential 
DualHDriveAndTorqueSplitter 
FullHDrive 
Enumerator
None 
ForceLocked 
ForceUnlocked 
Enumerator
HDriveAndCenterDifferential 
HDriveAndTorqueSplitterAtLinkedAxles 
HDriveAndTorqueSplitterAtIndependentAxle 
Enumerator
CenterDifferential 
TorqueSplitter 
HDrive 

Member Function Documentation

float VehiclePhysics.Driveline.GetAxleFinalRatio ( int  axle)
inline
void VehiclePhysics.Driveline.SetupDriveline ( Wheel[]  wheels,
Block  powerTrainOutput 
)
inline

Member Data Documentation

Differential.Settings VehiclePhysics.Driveline.axleDifferential = new Differential.Settings()
Differential.Settings VehiclePhysics.Driveline.centerDifferential = new Differential.Settings()
Differential.Settings VehiclePhysics.Driveline.interAxleDifferential = new Differential.Settings()
Settings VehiclePhysics.Driveline.settings = new Settings()
TorqueSplitter.Settings VehiclePhysics.Driveline.torqueSplitter = new TorqueSplitter.Settings()

Property Documentation

Override VehiclePhysics.Driveline.differentialOverride
getset
Override VehiclePhysics.Driveline.drivelineOverride
getset

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