Module avian3d::dynamics::sleeping

source ·
Expand description

Manages sleeping and waking for bodies, automatically deactivating them to save computational resources.

See SleepingPlugin.

Structs§

  • How long in seconds the linear and angular velocity of a body need to be below the SleepingThreshold before the body is deactivated. Defaults to 1 second.
  • Manages sleeping and waking for bodies, automatically deactivating them to save computational resources.
  • A threshold that indicates the maximum linear and angular velocity allowed for a body to be deactivated.

Functions§