Version: 5.5 (switch to 5.6b)
LanguageEnglish
  • C#
  • JS

Script language

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

Physics2D.angularSleepTolerance

public static float angularSleepTolerance;

Description

A rigid-body cannot sleep if its angular velocity is above this tolerance.