DistanceJoint3D constructor
DistanceJoint3D({})
A joint from anchor to connectedAnchor; the distance range is
what they are apart when it is made, unless minDistance and
maxDistance are given (0 or more).
Implementation
DistanceJoint3D({
super.connectedBody,
super.anchor,
super.enabled,
Vector3? connectedAnchor,
this.minDistance = -1.0,
this.maxDistance = -1.0,
this.springFrequency = 0.0,
this.springDamping = 0.0,
}) : connectedAnchor = connectedAnchor ?? Vector3.zero();