// © 2026 Adobe. MIT License. See /LICENSE for details. import { Schema } from "@adobe/data/schema"; import { schema } from "./schema.js"; /** * How a joint constrains the two bodies it connects: * fixed — rigidly locks them together (no relative motion). * point — a ball/spherical joint: anchors coincide, free rotation (chains, ragdoll joints). * hinge — a revolute joint: 1 rotational DOF about an axis, with optional angle limits (doors, elbows). * cone — a swing-twist joint: the bone axis is bound to a cone (half-angle * `jointSwingLimit`) around the reference axis, with a twist range * (`jointMinLimit`/`jointMaxLimit`) about it — anatomical shoulder/hip * limits for ragdolls. Full on Jolt (SwingTwist); Rapier's compat * binding has no cone limit, so it approximates `cone` as a free `point`. */ export type JointType = Schema.ToType; export * as JointType from "./public.js";