Click or drag to resize
DigitalRuneCollisionDetectionUpdateContacts Method
Updates the contact information in the given contact set.

Namespace: DigitalRune.Geometry.Collisions
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 containing the last known contacts.
deltaTime
Type: SystemSingle
The time step size in seconds. (The elapsed simulation time since UpdateClosestPoints(ContactSet, Single) or UpdateContacts(ContactSet, Single) was last called for this contact set.)
Exceptions
ExceptionCondition
ArgumentNullExceptioncontactSet is .
Remarks
If two objects move, the contact information will usually change and has to be updated. Using the contact set containing the last known contacts, this method can compute the new contacts faster than GetContacts(CollisionObject, CollisionObject) if the poses of the objects haven't changed drastically.
See Also