angularOffset
The current angular offset between the Rigidbody2D that the joint connects.
Read time 1 minuteLast updated 6 days ago
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.