Skip to content

PhysicsOptions.PreSolveFilter Property

Definition

Namespace: Brine2D.Physics

An optional pre-solve filter invoked by the Box2D solver for every active contact pair each step. Return false to cancel the contact for that step. Primary use-case: one-way platforms. See PreSolveContact for details.

public System.Func<Brine2D.Physics.PreSolveContact,bool>? PreSolveFilter { get; set; }

Property Value

System.Func<PreSolveContact,System.Boolean>