The angular velocity, below which objects start going to sleep. (Default 0.14) range { 0, infinity }
See Rigidbody Sleeping for more information.
rigidbody.sleepAngularVelocity = 0.1;
using UnityEngine;
using System.Collections;
public class example : MonoBehaviour {
void Example() {
rigidbody.sleepAngularVelocity = 0.1F;
}
}
import UnityEngine
import System.Collections
class example(MonoBehaviour):
def Example():
rigidbody.sleepAngularVelocity = 0.1F