LanguageEnglish
  • C#
  • JS

Script language

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

This version of Unity is unsupported.

DistanceJoint2D.distance

Switch to Manual
public float distance;

Description

The distance separating the two ends of the joint.