World:getAngularDamping
EditReturns the angular damping parameters of the World. Angular damping makes things less "spinny", making them slow down their angular velocity over time.
damping, threshold = World:getAngularDamping()
Arguments
None
Returns
Name | Type | Description |
damping | number | The angular damping. |
threshold | number | Velocity limit below which the damping is not applied. |
Notes
This sets the default damping for newly-created colliders. Damping can also be set on a per-collider basis using Collider:setAngularDamping
.