PhysicsBodyComponent.IsMaterialDirty Property
Definition¶
Namespace: Brine2D.ECS.Components
Set when SurfaceFriction, Restitution, or
EnableHitEvents changes on a live body. The system calls
B2.ShapeSetFriction, B2.ShapeSetRestitution, and
B2.ShapeEnableHitEvents instead of a full rebuild.
internal bool IsMaterialDirty { internal get; internal set; }