Chipmunk2D Unity Documentation | Main Page | Forum

Manual

Tutorials

API

Classes

Structs

Enumerations

Chipmunk.sleepTimeThreshold

static var sleepTimeThreshold : float

Description

The minimum time in seconds a group of objects must be idle before falling asleep.

When an object are moving slower than the idleSpeedThreshold for longer than the sleepTimeThreshold it is considered idle. A group of objects in contact fall asleep when they are all idle. The sleepTimeThreshold default is 0.5.