Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


sleepVelocity

The linear velocity below which objects start going to sleep. (Default 0.14) range { 0, infinity }.
Read time 1 minuteLast updated 2 days ago

Definition

  • Type: Property
  • Namespace: UnityEngine
  • Assembly: UnityEngine.PhysicsModule
Warning
Removed. The sleepVelocity is no longer supported. Use sleepThreshold. Note that sleepThreshold is energy but not velocity.
public float sleepVelocity { get; set; }

Remarks

See the Physics Overview in the manual for more information about Rigidbody sleeping.