Legacy Documentation: Version 5.6 (Go to current version)
LanguageEnglish
  • C#
  • JS

Script language

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

AnchoredJoint2D.autoConfigureConnectedAnchor

public bool autoConfigureConnectedAnchor;

Description

Should the connectedAnchor be calculated automatically?

When true, the connectedAnchor property will be calculated automatically to match the world position of the anchor property. When false, the position of the connected anchor can be configured using the connectedAnchor property.

See Also: anchor, connectedAnchor.