PhysicsBodyComponent.RotationalInertiaOverride Property
Definition¶
Namespace: Brine2D.ECS.Components
Overrides the rotational inertia of the body in simulation units.
Must be greater than zero when set. Set to null to use the geometry-derived value.
Changes on a live body apply immediately.
Has no effect on Static or Kinematic bodies.
public System.Nullable<float> RotationalInertiaOverride { get; set; }