Rigidbody.sleepAngularVelocity Manual     Reference     Scripting  
Scripting > Runtime Classes > Rigidbody
Rigidbody.sleepAngularVelocity
このドキュメントは有志により翻訳されたもので、オフィシャルではありません。オリジナルのページはこちら
This document is unofficially translated by users.Please see the original document here.

翻訳に関する修正など、ご連絡はこちらまで。
Please send e-mail to here, when you have any question about the translation.

編集 (GitHub)

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 {
public void Awake() {
rigidbody.sleepAngularVelocity = 0.1F;
}
}

import UnityEngine
import System.Collections

class example(MonoBehaviour):

public def Awake():
rigidbody.sleepAngularVelocity = 0.1F