Collider:setAngularDamping
EditSets the angular damping of the Collider. Angular damping makes things less "spinny", causing them to slow down their angular velocity over time. Damping is only applied when angular velocity is over the threshold value.
Collider:setAngularDamping(damping, threshold)
Arguments
Name | Type | Default | Description |
damping | number | The angular damping. | |
threshold | number | 0 | Velocity limit below which the damping is not applied. |
Returns
Nothing
Notes
Angular damping can also be set on the World.
See also
World:getAngularDamping
World:setAngularDamping
Collider:getAngularDamping
Collider