C# Class FSBDwheel, BDAnimationModules

Inheritance: PartModule
Show file Open project: BahamutoD/BDAnimationModules Class Usage Examples

Public Properties

Property Type Description
animSpeed float
hasAnimation bool
screechMindeltaRPM float
surfaceNormal Vector3
wheelHit bool

Public Methods

Method Description
FixedUpdate ( ) : void
GetInfo ( ) : string
OnStart ( PartModule, state ) : void
OnUpdate ( ) : void
setBrakeLight ( BrakeStatus status ) : void
setBrakeLight ( bool _brakesEngaged ) : void

Private Methods

Method Description
BrakesAction ( KSPActionParam param ) : void
DisableMotorEvent ( ) : void
DisableReverseMotorEvent ( ) : void
EnableMotorEvent ( ) : void
EnableReverseMotorEvent ( ) : void
LowerGear ( ) : void
RaiseGear ( ) : void
ReverseMotorAction ( KSPActionParam param ) : void
ToggleGearAction ( KSPActionParam param ) : void
ToggleMotorAction ( KSPActionParam param ) : void
animate ( string mode ) : void
brakesOffEvent ( ) : void
brakesOnEvent ( ) : void
checkSounds ( ) : void
decreaseFrictionEvent ( ) : void
destroyBoundsCollider ( ) : void
disableColliders ( ) : void
fireBrakeSound ( int wheelNumber ) : void
fireRollSound ( ) : void
fireScreechEffect ( int wheelNumber, float deltaRPM ) : void
fireTouchdownThud ( ) : void
increaseFrictionEvent ( ) : void
rotateWheelMeshes ( ) : void
updateBrakeTorque ( ) : void
updateDeploymentState ( ) : void
updateDrag ( ) : void
updateMotors ( ) : void
updateScreechEffect ( int wheelNumber ) : void
updateSuspension ( ) : void

Method Details

FixedUpdate() public method

public FixedUpdate ( ) : void
return void

GetInfo() public method

public GetInfo ( ) : string
return string

OnStart() public method

public OnStart ( PartModule, state ) : void
state PartModule,
return void

OnUpdate() public method

public OnUpdate ( ) : void
return void

setBrakeLight() public method

public setBrakeLight ( BrakeStatus status ) : void
status BrakeStatus
return void

setBrakeLight() public method

public setBrakeLight ( bool _brakesEngaged ) : void
_brakesEngaged bool
return void

Property Details

animSpeed public property

public float animSpeed
return float

hasAnimation public property

public bool hasAnimation
return bool

screechMindeltaRPM public property

public float screechMindeltaRPM
return float

surfaceNormal public property

public Vector3 surfaceNormal
return Vector3

wheelHit public property

public bool wheelHit
return bool