Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


correctionScale

Scales both the linear and angular forces used to correct the required relative orientation.
Read time 1 minuteLast updated 4 days ago

Definition

  • Type: Property
  • Namespace: UnityEngine
  • Assembly: UnityEngine.Physics2DModule
public float correctionScale { get; set; }

Remarks

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