JointComponent.RebuildAfterBreak Property
Definition¶
Namespace: Brine2D.ECS.Components.Joints
When true, a broken joint will be rebuilt automatically on the next physics step
(if ConnectedBody is still valid). Default is false — the break is
permanent unless the caller explicitly sets ConnectedBody again or sets this flag.
To permanently break a joint at runtime, set ConnectedBody = null
inside your OnBreak handler regardless of this flag.
public bool RebuildAfterBreak { get; set; }