Chipmunk2D Unity Documentation | Main Page | Forum

Manual

Tutorials

API

Classes

Structs

Enumerations

Chipmunk.idleSpeedThreshold

static var idleSpeedThreshold : float

Description

The velocity at which an object is considered idle.

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