Skip to content

PhysicsBodyComponent.IsSubShapeTriggerDirty Property

Definition

Namespace: Brine2D.ECS.Components

Set when IsTrigger changes on a live body sub-shape. The system calls B2.ShapeEnableSensorEvents and B2.ShapeEnableContactEvents on the affected sub-shape, updates density, and flushes stale contact/sensor pairs — no full rebuild is required.

internal bool IsSubShapeTriggerDirty { internal get; internal set; }

Property Value

System.Boolean