|
@@ -2,8 +2,8 @@ return {
|
|
tag = 'worldProperties',
|
|
tag = 'worldProperties',
|
|
summary = 'Get the angular damping of the World.',
|
|
summary = 'Get the angular damping of the World.',
|
|
description = [[
|
|
description = [[
|
|
- Returns the angular damping of the World. Angular damping makes things less "spinny", making
|
|
|
|
- them slow down their angular velocity over time.
|
|
|
|
|
|
+ Returns the angular damping parameters of the World. Angular damping makes things less
|
|
|
|
+ "spinny", making them slow down their angular velocity over time.
|
|
]],
|
|
]],
|
|
arguments = {},
|
|
arguments = {},
|
|
returns = {
|
|
returns = {
|
|
@@ -11,6 +11,11 @@ return {
|
|
name = 'damping',
|
|
name = 'damping',
|
|
type = 'number',
|
|
type = 'number',
|
|
description = 'The angular damping.'
|
|
description = 'The angular damping.'
|
|
|
|
+ },
|
|
|
|
+ {
|
|
|
|
+ name = 'threshold',
|
|
|
|
+ type = 'number',
|
|
|
|
+ description = 'Velocity limit below which the damping is not applied.'
|
|
}
|
|
}
|
|
},
|
|
},
|
|
notes = 'Angular damping can also be set on individual colliders.',
|
|
notes = 'Angular damping can also be set on individual colliders.',
|