Legacy Documentation: Version 5.2
LanguageEnglish
  • C#
  • JS

Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

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.

See Also: distance.