Skip to content

PhysicsBodyComponent.IsMassDirty Property

Definition

Namespace: Brine2D.ECS.Components

Set by the Mass setter when the body is already live. The system calls B2.BodyApplyMassFromShapes instead of a full rebuild, preserving position, velocity, contacts, and sleeping state.

internal bool IsMassDirty { internal get; internal set; }

Property Value

System.Boolean