| ContactSetCollectionGetContacts Method (PairCollisionObject) |
Gets the contact set with the contacts between the specified pair of collision objects.
Namespace: DigitalRune.Geometry.CollisionsAssembly: DigitalRune.Geometry (in DigitalRune.Geometry.dll) Version: 1.18.0.0 (1.18.2.14427)
Syntax public ContactSet GetContacts(
Pair<CollisionObject> collisionObjectPair
)
Public Function GetContacts (
collisionObjectPair As Pair(Of CollisionObject)
) As ContactSet
public:
ContactSet^ GetContacts(
Pair<CollisionObject^> collisionObjectPair
)
member GetContacts :
collisionObjectPair : Pair<CollisionObject> -> ContactSet
Parameters
- collisionObjectPair
- Type: DigitalRune.CollectionsPairCollisionObject
The collision object pair.
Return Value
Type:
ContactSet
A ContactSet with contacts between the given pair of objects.
The collision objects in the returned ContactSet
can be swapped! See ContactSet for more information on swapped contact
sets.
If the collection does not contain a suitable ContactSet,
is returned.
See Also