Skip to content

API Type JointKind

github-actions[bot] edited this page Nov 24, 2026 · 1 revision

Type Alias: JointKind

type JointKind = "fixed" | "hinge" | "slider" | "ball" | "rope" | "spring";

Defined in: src/engine/physics/types.ts:64

What a joint is (ADR 0305), 2D or 3D: welded (fixed), turning about an axis (hinge), sliding along one (slider), turning freely about a point (ball, 3D only), at most a length apart (rope) or pulled towards one (spring).

Clone this wiki locally