object.length

Type Number
Object Joint
Library physics.*
Revision Current Public Release (2017.3135)
Keywords joint, length
See also Physics Joints (guide)

Overview

Defines the distance between the anchor points for a "distance" joint, which should not be zero or very short. If you position the bodies before applying a distance joint to them, this length will automatically be set as the distance between the anchor points, so it's usually not necessary to set this parameter.