|
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 Example() {
rigidbody.sleepVelocity = 0.1F;
}
}
import UnityEngine
import System.Collections
class example(MonoBehaviour):
def Example():
rigidbody.sleepVelocity = 0.1F