World:setAngularDamping

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

World:setAngularDamping(damping)

Arguments

NameTypeDescription
dampingnumberThe angular damping.

Returns

Nothing

Notes

Angular damping can also be set on individual colliders.

See also