Talos docs

PhysicsSleep

Since 0.6
Plain text

Fields

FieldTypeRequiredDefaultAllowed valuesDescription
linearnumbernoSpeed, in metres per second, that the fastest point of a body must stay under to count as resting (Rapier's normalized linear threshold, which also folds in spin). 0 or more.
angularnumbernoSpin, in radians per second, under which a body with no collider counts as resting. Bodies with colliders use linear for spin too. 0 or more.
afternumbernoSeconds a body must stay resting before it sleeps. 0 or more.