文档

Unity Engine

Unity Engine

sleepAngularVelocity

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

Definition

  • Type: Property
  • Namespace: UnityEngine
  • Assembly: UnityEngine.PhysicsModule
警告
Removed. The sleepAngularVelocity is no longer supported. Use sleepThreshold to specify energy.
public float sleepAngularVelocity { get; set; }

Remarks

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