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

Public Member Functions

Block[] GetBlockArray ()
 
bool Initialize (Wheel[] wheels, bool enableRK4)
 
void Integrate (float t, float dt, int steps, bool useRK4)
 

Static Public Member Functions

static float GetViscousLockingDt (float lockRatio)
 
static void SetDebugTime (float t, float dt)
 

Public Attributes

const float minInertia = 0.01f
 
const float minWheelMass = 0.01f
 
const float minWheelRadius = 0.01f
 

Static Public Attributes

static float viscousCouplingRate = 100.0f
 
static float viscousLockedRatio = 0.95f
 

Properties

static float deltaTime [get, set]
 
string resultMessage [get, set]
 
static float time [get, set]
 

Member Function Documentation

Block [] VehiclePhysics.Solver.GetBlockArray ( )
inline
static float VehiclePhysics.Solver.GetViscousLockingDt ( float  lockRatio)
inlinestatic
bool VehiclePhysics.Solver.Initialize ( Wheel[]  wheels,
bool  enableRK4 
)
inline
void VehiclePhysics.Solver.Integrate ( float  t,
float  dt,
int  steps,
bool  useRK4 
)
inline
static void VehiclePhysics.Solver.SetDebugTime ( float  t,
float  dt 
)
inlinestatic

Member Data Documentation

const float VehiclePhysics.Solver.minInertia = 0.01f
const float VehiclePhysics.Solver.minWheelMass = 0.01f
const float VehiclePhysics.Solver.minWheelRadius = 0.01f
float VehiclePhysics.Solver.viscousCouplingRate = 100.0f
static
float VehiclePhysics.Solver.viscousLockedRatio = 0.95f
static

Property Documentation

float VehiclePhysics.Solver.deltaTime
staticgetset
string VehiclePhysics.Solver.resultMessage
getset
float VehiclePhysics.Solver.time
staticgetset

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