Table of Contents

Class Module_WheelDamage

Namespace
KSP.Modules
Assembly
Assembly-CSharp.dll
public class Module_WheelDamage : Module_WheelSubmodule, IPartModule, IFixedUpdate, IPriorityOverride, IUpdate, IObjectAssemblyPartModule
Inheritance
Module_WheelDamage
Implements
Inherited Members
Extension Methods

Constructors

Module_WheelDamage()

public Module_WheelDamage()

Fields

currentDeflection

public float currentDeflection

Field Value

float

currentDownForce

public float currentDownForce

Field Value

float

currentSlip

public float currentSlip

Field Value

float

dataWheelDamage

protected Data_WheelDamage dataWheelDamage

Field Value

Data_WheelDamage

initialized

public bool initialized

Field Value

bool

lastDeflection

public float lastDeflection

Field Value

float

lastDownForce

public float lastDownForce

Field Value

float

lastSlip

public float lastSlip

Field Value

float

stressVariability

public float stressVariability

Field Value

float

totalStress

public float totalStress

Field Value

float

Properties

IsImpactDamageEnable

public bool IsImpactDamageEnable { get; }

Property Value

bool

PartComponentModuleType

public override Type PartComponentModuleType { get; }

Property Value

Type

Methods

AddDataModules()

protected override void AddDataModules()

DamageWheel()

public void DamageWheel()

HandleCollision(Collision)

public void HandleCollision(Collision c)

Parameters

c Collision

HandleCollisionVelocity(Collision, GameObject, Vector3, Vector3)

public void HandleCollisionVelocity(Collision c, GameObject otherObject, Vector3 velocity, Vector3 normal)

Parameters

c Collision
otherObject GameObject
velocity Vector3
normal Vector3

OnInitialize()

protected override void OnInitialize()

OnModuleFixedUpdate(float)

protected override void OnModuleFixedUpdate(float fixedDeltaTime)

Parameters

fixedDeltaTime float

OnShutdown()

protected override void OnShutdown()

OnWheelSetup()

protected override void OnWheelSetup()

SetDamaged(bool)

public void SetDamaged(bool damaged)

Parameters

damaged bool