Click or drag to resize
DigitalRuneCollisionDomainUpdate Method (Single, Boolean)
Updates the collision domain and computes the new contact information.

Namespace: DigitalRune.Geometry.Collisions
Assembly: DigitalRune.Geometry (in DigitalRune.Geometry.dll) Version: 1.18.0.0 (1.18.2.14427)
Syntax
public void Update(
	float deltaTime,
	bool recycleContactSets
)

Parameters

deltaTime
Type: SystemSingle
The simulation time that has elapsed since the last update in seconds. (The size of the time step.)
recycleContactSets
Type: SystemBoolean
If set to , obsolete contact sets from the last frames will be recycled - which is the default behavior. If, for some reason, obsolete contact sets might still be referenced and used, use ; the contact sets are kept and recycled in future Update(TimeSpan) calls. should only be used in special cases.
Remarks
This method has to be called in each frame. The computed collision data will be updated for the collision objects which were modified since the last Update(Single) call.
See Also