RopeJointConfig
Defined in: physics/src/types.ts:97
Inextensible tether that keeps the anchor points within length. Every
number is finite; length is >= 0.
Properties
Section titled “Properties”anchorA?
Section titled “anchorA?”
optionalanchorA?:Vec2Like
Defined in: physics/src/types.ts:102
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:104
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:100
Maximum distance between the anchor points, in pixels.
type:
"rope"
Defined in: physics/src/types.ts:98