文档

Unity Engine


User Manual

Script Reference

Unity Engine


correctionScale

Scales both the linear and angular forces used to correct the required relative orientation.
阅读时间1 分钟最后更新于 22 天前

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.