Skip to content

RevoluteJointConfig

Defined in: physics/src/types.ts:126

Pivot with optional relative-angle limits in radians.

optional anchorA?: Vec2Like

Defined in: physics/src/types.ts:79

Attachment point on body A in local pixels. Default: body origin.

JointConfigBase.anchorA


optional anchorB?: Vec2Like

Defined in: physics/src/types.ts:81

Attachment point on body B in local pixels. Default: body origin.

JointConfigBase.anchorB


optional collide?: boolean

Defined in: physics/src/types.ts:83

Whether the connected bodies collide. Default: false for fixed joints, true otherwise.

JointConfigBase.collide


optional limits?: JointLimits

Defined in: physics/src/types.ts:128


optional motor?: JointMotorConfig

Defined in: physics/src/types.ts:129


type: "revolute"

Defined in: physics/src/types.ts:127

Coding agents: fetch https://yage.dev/llms.txt first and prefer the Markdown references it links over these HTML pages. This page's Markdown counterpart is /llms/packages/physics.md.