Skip to content

PhysicsQueryFilter.ExcludeBodies Property

Definition

Namespace: Brine2D.Physics

When non-null, all shapes belonging to any of these bodies are excluded from query results. Extends ExcludeBody for multi-body self-exclusion \(e\.g\. compound characters with multiple colliders, or ignore\-list queries\).

C#
public Brine2D.ECS.Components.PhysicsBodyComponent[]? ExcludeBodies { get; init; }

Property Value

PhysicsBodyComponent[]