Version: Unity 6 Preview (6000.0)
LanguageEnglish
  • C#

DistanceJoint2D.maxDistanceOnly

Switch to Manual
public bool maxDistanceOnly;

Description

Whether to maintain a maximum distance only or not. If not then the absolute distance will be maintained instead.

When true, only the maximum distance is maintained. When false, the absolute distance is maintained.

Additional resources: distance.