Legacy Documentation: Version 4.5.0

Script language:

  • JS
  • C#
  • Boo
Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

var angularDrag: float;
float angularDrag;
angularDrag as float

Description

Coefficient of angular drag.

Drag is the tendency of an object to slow down due to friction with the air or water that surrounds it. The angular drag applies to rotational movement and is set up separately from the linear drag that affects positional movement. A higher value of angular drag will cause an object's rotation to come to rest more quickly following a collision or torque.

See Also: AddTorque, AddForceAtPosition, angularVelocity, drag, Rigidbody.angularDrag.