friction method

double friction(
  1. AxisState state,
  2. double delta
)

See frictionFromState. Returns the friction-scaled delta for the given axis state under these bounds.

Implementation

double friction(AxisState state, double delta) =>
    frictionFromState(state: state, bounds: this, delta: delta);