private Vector3 alignVector | Local direction on the pivot that is turned to point at the hands. |
private float baseValue | Value SteadyValue rests at and decays to. |
private Pickup bellowsHandlePickup | The handle pickup the player grabs to pump. |
private float cooldownPerSecond | How fast SteadyValue falls per second. |
private float down | Bellows angle counted as fully pressed. |
private AnimationCurve duringPumpAddition | Curve, by stroke position, for how much a stroke adds to the short-term pumping value. |
private Vector3 handleRotatingAxis | Axis the handle turns around to match the hands' grip. |
private Transform handleRotatingTransform | Handle transform turned to match the grip. |
private bool isOffCenter | True while the released bellows are still more than a degree from neutral, which keeps the update running. |
private float maxDifferenceFromNeutral | Furthest the pivot may turn from neutral, in degrees. |
private float maxValue | Cap for SteadyValue, and the top of Value's range. |
private Quaternion neutralRotation | Pivot's resting local rotation. |
private float oldProgress | Stroke position from the previous frame, used to measure how far it moved. |
private Vector3 pivotAxis | Axis the pivot hinges around. |
private Transform pivotTransform | Transform hinged to follow the hands (a fake joint). |
private AnimationCurve pumpEfficiency | Curve, by stroke position, for how much a stroke adds to SteadyValue. |
private float pumpingValueMaxDecreaseSpeed | Fastest the short-term pumping value may fall per second. |
private float smoothPumpingValue | Short-term value from recent strokes; added to SteadyValue for Value and used for experience. |
private float up | Bellows angle counted as fully open. |
private IUnityUpdateMethod updateMovement | Handle for the registered per-frame update, or null. |