scaleTolerance constant

double const scaleTolerance

The smallest change of an entity's scale, as a fraction of the scale its body was made at, that makes the body again. Less is float noise — an animation or a tween ending at 1.0000001 — and making the body again for it every step also made its joints again each step.

Implementation

static const double scaleTolerance = 1e-4;