RopeJointConfig
Defined in: physics/src/types.ts:92
Inextensible tether that keeps the anchor points within length.
Properties
Section titled “Properties”anchorA?
Section titled “anchorA?”
optionalanchorA?:Vec2Like
Defined in: physics/src/types.ts:97
Attachment point on body A in pixels, local to the body. Default: body origin.
anchorB?
Section titled “anchorB?”
optionalanchorB?:Vec2Like
Defined in: physics/src/types.ts:99
Attachment point on body B in pixels, local to the body. Default: body origin.
length
Section titled “length”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