Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


angularOffset

The current angular offset between the Rigidbody2D that the joint connects.
Read time 1 minuteLast updated 4 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 _maxTorque.
Additional Resources: _maxTorque, _maxForce