ConstScale applied to angular velocity during CCD sweeps, so a spinning body slips instead of locking.
Angular speed below which a body counts as resting for sleeping.
Steps a contact is kept after its shapes stop touching (warm starting).
As staticCCDAngularThreshold, for bullet bodies against dynamic bodies.
As staticCCDLinearThreshold, for bullet bodies against dynamic bodies.
Penetration (px) tolerated before contacts push shapes apart.
Penetration (px) a continuous (CCD) sweep stops at.
Angular error (rad) a constraint tolerates before correcting it.
Positional error (px) a constraint tolerates before correcting it.
Position-correction strength of contacts.
Position-correction strength of continuous (CCD) contacts.
Position-correction strength of continuous (CCD) contacts against static bodies.
Position-correction strength of contacts against static bodies.
Separation (px) at which a CCD sweep counts as a time of impact.
Relative rotation below which a dynamic pair is resolved without a sweep.
Relative displacement (px) below which a dynamic pair is resolved without a sweep.
Normal impact speed below which elasticity is ignored, so resting contacts don't jitter.
General numerical tolerance (degenerate geometry, near-zero lengths).
Fluid drag coefficient on angular velocity.
Friction scale of fluid drag on angular velocity.
Fluid drag coefficient on linear velocity.
Drag factor on the trailing edges of a submerged shape (edges facing away from the flow).
Condition number above which a constraint or contact matrix is treated as ill-conditioned.
Linear speed below which a body counts as resting for sleeping.
Steps a body must stay below the sleep thresholds before it falls asleep.
Per-step rotation (rad) above which CCD against static bodies kicks in.
Per-step motion, as a fraction of the body's sweep radius, above which CCD against static bodies kicks in.
Relative tangent speed below which static friction applies instead of dynamic friction.
Global tuning constants of the physics engine — the same fields and defaults as Haxe nape's
nape.Config.The engine reads these on every use, so assigning a field takes effect immediately for every
Spacein the process. Change them once at startup, before creating spaces, and only when you know which behaviour you are tuning: the defaults are balanced against each other.Config is not part of
spaceToJSON/spaceToBinarysnapshots, and it is an input to the simulation: two runs only reproduce each other (replay, rollback, determinism tests) with the same values.