ResistanceConfig

constructor(basis: Float, factorAtMin: Float = StandardResistanceFactor, factorAtMax: Float = StandardResistanceFactor)

Parameters

basis

Specifies the maximum amount of overflow that will be consumed. Must be positive.

factorAtMin

The factor by which to scale the resistance at the minimum bound. Must not be negative.

factorAtMax

The factor by which to scale the resistance at the maximum bound. Must not be negative.