PhysicsQueryFilter.ExcludeSensors Property
Definition
Namespace: Brine2D.Physics
When true, sensor \(trigger\) shapes are excluded from query results.
Filtering is applied post-callback via B2.ShapeIsSensor.
Useful for ground-detection casts and line-of-sight tests that must not hit trigger zones.
Default is false \(sensors are included\).
Property Value
Remarks
For RaycastClosest and ShapeCastClosest with ExcludeSensors = true,
the query internally collects all hits and returns the nearest non-sensor result, so a solid
body behind a trigger zone is correctly found.