World:getAngularDamping

Edit

Returns 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

NameTypeDescription
dampingnumber The angular damping.
thresholdnumber Velocity limit below which the damping is not applied.

Notes

Angular damping can also be set on individual colliders.

See also