文档

Unity Engine

Unity Engine

sleepVelocity

The linear velocity below which objects start going to sleep. (Default 0.14) range { 0, infinity }.
阅读时间1 分钟最后更新于 2 天前

Definition

警告
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.