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