Skip to content

PhysicsQueryFilter.ExcludeBody Property

Definition

Namespace: Brine2D.Physics

When non-null, all shapes belonging to this body are excluded from query results. Useful for self-exclusion when casting from a body's own position. For excluding multiple bodies, use ExcludeBodies.

public Brine2D.ECS.Components.PhysicsBodyComponent? ExcludeBody { get; init; }

Property Value

PhysicsBodyComponent