| ContactSetCollectionGetContacts Method (CollisionObject, CollisionObject) |
Gets the contact set with the contacts between the specified 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(
CollisionObject objectA,
CollisionObject objectB
)
Public Function GetContacts (
objectA As CollisionObject,
objectB As CollisionObject
) As ContactSet
public:
ContactSet^ GetContacts(
CollisionObject^ objectA,
CollisionObject^ objectB
)
member GetContacts :
objectA : CollisionObject *
objectB : CollisionObject -> ContactSet
Parameters
- objectA
- Type: DigitalRune.Geometry.CollisionsCollisionObject
The first collision object. - objectB
- Type: DigitalRune.Geometry.CollisionsCollisionObject
The second collision object.
Return Value
Type:
ContactSet
A ContactSet with contacts between objectA and
objectB. 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