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.

RelativeJoint2D.correctionScale

Switch to Manual
public float correctionScale;

Description

Scales both the linear and angular forces used to correct the required relative orientation.

Adjusting the correction scale will scale the amount of force and torque applied by the joint. No more than the specified maxForce or maxTorque will be applied however.

See Also: maxForce or maxTorque.