Physics · const

MAX_BODIES

The key packs two indices into 32 bits, so neither may reach this.

Explained in Your first game, Rigid bodies.

const MAX_BODIES: number
import { MAX_BODIES } from '@driftengine/physics';