Physics · interface

TetherConstraints

Long-range attachments: a particle may be no further than a length from a kinematic anchor.

Explained in Your first game, Rigid bodies.

interface TetherConstraints
import type { TetherConstraints } from '@driftengine/physics';

Properties

NameTypeDescription
particlesreadonlyUint32Array
anchorsreadonlyUint32Array
lengthsreadonlyFloat32Array