Skip to content

RopeJointConfig

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

Inextensible tether that keeps the anchor points within length.

optional anchorA?: Vec2Like

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

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


optional anchorB?: Vec2Like

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

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


length: number

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

Maximum distance between the anchor points, in pixels.


type: "rope"

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