Physics · const

DOF_COUNT

Six degrees: linear x, y, z, then angular x, y, z — all in body A's local frame.

Explained in Your first game, Rigid bodies.

const DOF_COUNT = 6
import { DOF_COUNT } from '@driftengine/physics';