C# Class SSTUTools.SSTUModularParachute

Inheritance: PartModule
Show file Open project: shadowmage45/SSTULabs

Public Methods

Method Description
FixedUpdate ( ) : void
OnActive ( ) : void
OnLoad ( ConfigNode node ) : void
OnStart ( StartState state ) : void

Private Methods

Method Description
applyPhysicsDrag ( ) : void
calcDragArea ( ) : float
canDrogueDeploy ( ) : bool
canMainDeploy ( ) : bool
cutChuteAction ( KSPActionParam param ) : void
cutChuteEvent ( ) : void
deployChuteAction ( KSPActionParam param ) : void
deployChuteEvent ( ) : void
enableChuteRenders ( bool drogue, bool main ) : void
getDragForce ( ) : Vector3
getDragPoint ( ) : Vector3

Returns part relative drag-point, drag will be applied at this point on the part (relative to model origin), in the direction of the global drag vector

initialize ( ) : void
initializeModels ( ) : void

create the models, and restore them to their saved/default state

isDrogueChuteDeployed ( ) : bool
isDrogueCut ( ) : bool
isDrogueReady ( ) : bool
isMainChuteDeployed ( ) : bool
isMainReady ( ) : bool
loadConfigData ( ConfigNode node ) : void
removeParachuteCap ( String name, bool jettison ) : void
setChuteState ( ChuteState newState ) : void
shouldAutoCutLandedSpeed ( ) : bool
shouldDeploy ( float height, bool ray ) : bool
shouldDeployDrogue ( ) : bool
shouldDeployMains ( ) : bool
shouldDeployRadarAlt ( float height ) : bool
shouldDeploySeaLevelAlt ( float height ) : bool
shouldDestroyDrogue ( ) : bool
shouldDestroyMain ( ) : bool
updateDeployAnimation ( ParachuteModelData modules, ChuteAnimationState state, float progress ) : void
updateDeployAnimation ( ParachuteModelData modules, ChuteAnimationState state, float progress, float randomization, float lerpDps ) : void
updateFlight ( ) : void
updateGuiState ( ) : void
updateParachuteStats ( ) : void

Updates internal cached vars for external physical state -- velocity, dynamic pressure, etc.

updateParachuteTargets ( Vector3 wind ) : void

Method Details

FixedUpdate() public method

public FixedUpdate ( ) : void
return void

OnActive() public method

public OnActive ( ) : void
return void

OnLoad() public method

public OnLoad ( ConfigNode node ) : void
node System.ConfigNode
return void

OnStart() public method

public OnStart ( StartState state ) : void
state StartState
return void