Speed threshold for a body to be considered idle. The default value of 0 means to let the space guess a good threshold based on gravity.

cpSpaceSetIdleSpeedThreshold(space, idleSpeedThreshold)

Arguments

space

[cpSpace *]

idleSpeedThreshold

[cpFloat]

Details

C function prototype: CP_EXPORT void cpSpaceSetIdleSpeedThreshold(cpSpace *space, cpFloat idleSpeedThreshold);