setDist method

void setDist(
  1. double dist
)

Set the distance the joint will maintain between the two anchors.

Implementation

void setDist(double dist) => bindings.cpPinJointSetDist(_constraint.toPointer, dist);