Click or drag to resize
DigitalRuneContactHelperRemoveBadContacts Method
Removes contacts where the contact normal points into an invalid direction.

Namespace: DigitalRune.Geometry.Collisions
Assembly: DigitalRune.Geometry (in DigitalRune.Geometry.dll) Version: 1.18.0.0 (1.18.2.14427)
Syntax
public static void RemoveBadContacts(
	ContactSet contactSet,
	Vector3F normal,
	float minDotProduct
)

Parameters

contactSet
Type: DigitalRune.Geometry.CollisionsContactSet
The contact set.
normal
Type: DigitalRune.Mathematics.AlgebraVector3F
The desired normal vector.
minDotProduct
Type: SystemSingle
The minimal allowed dot product of the contact normal and normal.
Remarks
For each contact this method computes the dot product of the contact normal and the given normal. If the dot product is less than minDotProduct the contact is removed.
See Also