19.9.26 setIdleSpeedThreshold

self = physics.Space:setIdleSpeedThreshold(speed)

Parameter

Type

Description

self

in physics.Space

The input simulation Space

speed

in number

Threshold speed

self

out physics.Space

The input Space is returned as the output

The idleSpeedThreshold is the speed below which a body is considered to be idle. This value is used to determine when a body can be put to sleep.

Introduced in platform.apiLevel = '2.0'