| CollisionAlgorithmUpdateContacts Method |
Performs a collision query to update the contact information in the contact set.
Namespace: DigitalRune.Geometry.Collisions.AlgorithmsAssembly: DigitalRune.Geometry (in DigitalRune.Geometry.dll) Version: 1.18.0.0 (1.18.2.14427)
Syntax public void UpdateContacts(
ContactSet contactSet,
float deltaTime
)
Public Sub UpdateContacts (
contactSet As ContactSet,
deltaTime As Single
)
public:
void UpdateContacts(
ContactSet^ contactSet,
float deltaTime
)
member UpdateContacts :
contactSet : ContactSet *
deltaTime : float32 -> unit
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 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