Rigidbody.sleepAngularVelocity Manual     Reference     Scripting  
Scripting > Runtime Classes > Rigidbody
Rigidbody.sleepAngularVelocity

var sleepAngularVelocity : float

Description

The angular velocity, below which objects start going to sleep. (Default 0.14) range { 0, infinity }

See Rigidbody Sleeping for more information.

JavaScripts
rigidbody.sleepAngularVelocity = 0.1;

using UnityEngine;
using System.Collections;

public class example : MonoBehaviour {
void Awake() {
rigidbody.sleepAngularVelocity = 0.1F;
}
}

import UnityEngine
import System.Collections

class example(MonoBehaviour):

def Awake():
rigidbody.sleepAngularVelocity = 0.1F