angularOffset
The current angular offset between the Rigidbody2D that the joint connects.
阅读时间1 分钟最后更新于 21 天前
Definition
- Type: Property
- Namespace: UnityEngine
- Assembly: UnityEngine.Physics2DModule
public float angularOffset { get; set; }
Remarks
The joint will attempt to maintain this angular offset between the connected Rigidbody2D using a maximum torque specified by RelativeJoint2D.maxTorque.
Additional Resources: RelativeJoint2D.maxTorque, RelativeJoint2D.maxForce