arcade2d
Variable

DEFAULT_PIXELS_PER_METER

physics/physics-world.constants.ts:28

Default value for PhysicsWorldOptions.pixelsPerMeter. Wired straight into Rapier's lengthUnit, telling the solver that "one human-scale meter" is 50 pixels so its internal error tolerances, sleep thresholds, and prediction distances are sized correctly for a pixel-scale world. A typical 30–100px arcade body then lands in Rapier's numerically-happy range.

ESC