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.

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.