기술 자료

Unity Engine

Unity Engine

maxAngularVelocity

The default maximum angular velocity permitted for any rigid bodies (default 7). Must be positive.
읽는 시간 1분최근 업데이트: 한 달 전

Definition

  • Type: Property
  • Namespace: UnityEngine
  • Assembly: UnityEngine.PhysicsModule
경고
Removed. Use Rigidbody.maxAngularVelocity instead.
public static float maxAngularVelocity { get; set; }

Remarks

The angular velocity of rigidbodies is clamped to maxAngularVelocity to avoid numerical instability with fast rotating bodies. Because this may prevent intentional fast rotations on objects such as wheels, you can override this value per rigidbody using Rigidbody.maxAngularVelocity.
This value is usually changed in
Edit->Project Settings->Physics
inspector instead of from scripts.