Skip to content

API Type JointKind2D

github-actions[bot] edited this page Nov 30, 2026 · 3 revisions

Type Alias: JointKind2D

type JointKind2D = "fixed" | "revolute" | "prismatic" | "rope" | "spring";

Defined in: src/plugins/physics/runtime/backend.ts:78

Joints between two bodies: body1 is the connected body (or a fixed one standing in for the world), body2 the joint's own.

Clone this wiki locally