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

Script language

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

TargetJoint2D.autoConfigureTarget

Switch to Manual
public bool autoConfigureTarget;

Description

Should the target be calculated automatically?

When true, the target property will be calculated automatically to match the current Rigidbody2D position. When false, the target property is not modified.

See Also: target.

Did you find this page useful? Please give it a rating: