Collider:getAngularDamping

Returns the angular damping parameters of the Collider. Angular damping makes things less "spinny", making them slow down their angular velocity over time.

damping, threshold = Collider:getAngularDamping()

Arguments

None

Returns

NameTypeDescription
dampingnumberThe angular damping.
thresholdnumberVelocity limit below which the damping is not applied.

Notes

Angular damping can also be set on the World.

See also