| 123456789101112131415161718192021222324252627 |
- return {
- summary = 'Set the angular damping of the Collider.',
- description = [[
- Sets 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.
- ]],
- arguments = {
- {
- name = 'damping',
- type = 'number',
- description = 'The angular damping.'
- },
- {
- name = 'threshold',
- type = 'number',
- default = '0',
- description = 'Velocity limit below which the damping is not applied.'
- }
- },
- returns = {},
- notes = 'Angular damping can also be set on the World.',
- related = {
- 'World:getAngularDamping',
- 'World:setAngularDamping'
- }
- }
|