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

Public Member Functions

void OnReferenceBodyChange (CelestialBody body)
 
void SetTargetSphere (PQS sphere)
 

Public Attributes

Collider[] colliders
 
Vector2 colliderSize
 Set to the approximate section size of collider we're attached to. More...
 
Collider gravityCollider
 
bool isGravityColliderActive
 
bool isVelocityColliderActive
 
int layerID
 
Part part
 
Vector3d[] samplesD
 
PQS sphere
 
bool useGravityCollider
 use gravity collider. things wot use velocity collider should probably use this too More...
 
bool useVelocityCollider
 
Collider velocityCliffCollider
 
Collider velocityCollider
 

Static Public Attributes

static double halfCliffHeight = 500
 set this to universes max expected cliff height More...
 
static double halfColliderHeight = 100
 
static int maxVelocityIteration = 2
 max number of velocity iterations per frame More...
 
static double sampleAngle = 0.0001d
 
static QuaternionD[] sampleRotationsD
 
static double velocityThinkAhead = 2
 double velocity before sticking it into solver More...
 

Member Function Documentation

void PQS_PartCollider.OnReferenceBodyChange ( CelestialBody  body)
inline
void PQS_PartCollider.SetTargetSphere ( PQS  sphere)
inline

Member Data Documentation

Collider [] PQS_PartCollider.colliders
Vector2 PQS_PartCollider.colliderSize

Set to the approximate section size of collider we're attached to.

Collider PQS_PartCollider.gravityCollider
double PQS_PartCollider.halfCliffHeight = 500
static

set this to universes max expected cliff height

double PQS_PartCollider.halfColliderHeight = 100
static
bool PQS_PartCollider.isGravityColliderActive
bool PQS_PartCollider.isVelocityColliderActive
int PQS_PartCollider.layerID
int PQS_PartCollider.maxVelocityIteration = 2
static

max number of velocity iterations per frame

Part PQS_PartCollider.part
double PQS_PartCollider.sampleAngle = 0.0001d
static
QuaternionD [] PQS_PartCollider.sampleRotationsD
static
Vector3d [] PQS_PartCollider.samplesD
PQS PQS_PartCollider.sphere
bool PQS_PartCollider.useGravityCollider

use gravity collider. things wot use velocity collider should probably use this too

bool PQS_PartCollider.useVelocityCollider
Collider PQS_PartCollider.velocityCliffCollider
Collider PQS_PartCollider.velocityCollider
double PQS_PartCollider.velocityThinkAhead = 2
static

double velocity before sticking it into solver


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