JointConfigBase
Defined in: physics/src/types.ts:77
Options shared by every joint. All numbers must be finite.
Extended by
Section titled “Extended by”Properties
Section titled “Properties”anchorA?
Section titled “anchorA?”
optionalanchorA?:Vec2Like
Defined in: physics/src/types.ts:79
Attachment point on body A in local pixels. Default: body origin.
anchorB?
Section titled “anchorB?”
optionalanchorB?:Vec2Like
Defined in: physics/src/types.ts:81
Attachment point on body B in local pixels. Default: body origin.
collide?
Section titled “collide?”
optionalcollide?:boolean
Defined in: physics/src/types.ts:83
Whether the connected bodies collide. Default: false for fixed joints, true otherwise.
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.