Skip to content

makeVelocityIntegrationSystem

makeVelocityIntegrationSystem<TCtx>(options?): SchedulableSystem<TCtx>

Defined in: src/modules/motion/motion.ts:76

A SchedulableSystem that advances each entity’s Position by its Velocity scaled by the tick’s dt, with optional boundary wrap/clamp, tag-scoping to a subset, and an onMove hook. Uses a columnar fast path when both stores are Structure-of-Arrays.

TCtx extends VelocityIntegrationTickCtx

VelocityIntegrationOptions<TCtx> = {}

SchedulableSystem<TCtx>