Legacy Documentation: Version 5.1
LanguageEnglish
  • C#
  • JS

Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

Cloth.sleepThreshold

Switch to Manual
public var sleepThreshold: float;

Description

Cloth's sleep threshold.

Sleep threshold is a linear speed of cloth particles, below which the whole cloth piece is going to fall asleep.