maxAngularVelocity
The default maximum angular velocity permitted for any rigid bodies (default 7). Must be positive.
Read time 1 minuteLast updated 4 days ago
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