Scripting API

DistanceJoint2D

class in UnityEngine · UnityEngine.Physics2DModule · inherits from AnchoredJoint2D

4 of 4 of Unity's membersUnity's documentation
In Tassix

Keeps the anchors at a distance (or at most that far, as a rope).

Properties 3

bool autoConfigureDistance { get; set; }
float distance { get; set; }
bool maxDistanceOnly { get; set; }