maxTorque
The maximum torque that can be generated when trying to maintain the friction joint constraint.
阅读时间1 分钟最后更新于 21 天前
Definition
- Type: Property
- Namespace: UnityEngine
- Assembly: UnityEngine.Physics2DModule
public float maxTorque { get; set; }
Remarks
The joint constantly tries to reduce the ::Rigidbody2D::angularVelocity using the maximum torque. Because you can use very high torque limit, you can essentially reduce an objects rotation to almost zero.
Additional Resources: FrictionJoint2D.maxForce