19.4.29
setVLimit
self = physics.Body:setVLimit(limit)
Parameter |
Type |
Description |
---|---|---|
self |
in physics.Body |
The input Body |
limit |
in number |
The maximum speed of the Body |
self |
out physics.Body |
The input Body is returned as the output |
Sets the limit for the maximum speed of the body.
Returns the Body.
Introduced in platform.apiLevel = '2.0'