maxAngularVelocity
The default maximum angular velocity permitted for any rigid bodies (default 7). Must be positive.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前
Definition
- Type: Property
- Namespace: UnityEngine
- Assembly: UnityEngine.PhysicsModule
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 inspector instead of from scripts.
Edit->Project Settings->Physics