Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


angularDamping

A force applied to slow angular movement of any Collider2D in contact with the effector.
Read time 1 minuteLast updated 10 days ago

Definition

  • Type: Property
  • Namespace: UnityEngine
  • Assembly: UnityEngine.Physics2DModule
public float angularDamping { get; set; }

Remarks

Angular damping provides the ability to slow Collider2D in contact with the effector. Increasing the angular damping simulates an increasingly viscous fluid making it harder for colliders to rotate within it.
It is similar to ::Rigidbody2D::angularDamping but is more complex in that damping is applied not only as a function of velocity but also takes into account the Collider2D submerged area.