Physics · type

BodyType

Static never moves, kinematic moves but is not pushed, dynamic is solved.

Explained in Your first game, Rigid bodies.

type BodyType = 0 | 1 | 2
import type { BodyType } from '@driftengine/physics';