R/cpSpace.R
cpSpaceSetIdleSpeedThreshold.Rd
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)
space | [ |
---|---|
idleSpeedThreshold | [ |
C function prototype: CP_EXPORT void cpSpaceSetIdleSpeedThreshold(cpSpace *space, cpFloat idleSpeedThreshold);