Click or drag to resize
DigitalRuneCollisionAlgorithmUpdateContacts Method
Performs a collision query to update the contact information in the contact set.

Namespace: DigitalRune.Geometry.Collisions.Algorithms
Assembly: DigitalRune.Geometry (in DigitalRune.Geometry.dll) Version: 1.18.0.0 (1.18.2.14427)
Syntax
public void UpdateContacts(
	ContactSet contactSet,
	float deltaTime
)

Parameters

contactSet
Type: DigitalRune.Geometry.CollisionsContactSet
The contact set.
deltaTime
Type: SystemSingle
The time step size in seconds. (The elapsed simulation time since the contact set was updated the last time.)
Exceptions
ExceptionCondition
ArgumentNullExceptioncontactSet is .
Remarks

This method updates contact information stored in the given contact set. This method is usually faster than GetContacts(CollisionObject, CollisionObject) because the information in contactSet is reused and updated.

The life time counter of persistent contacts is increased.

See Also