Click or drag to resize
DigitalRuneCollisionFilterGet Method (CollisionObject, CollisionObject)
Returns if collisions between two CollisionObjects are enabled (without testing collision groups).

Namespace: DigitalRune.Geometry.Collisions
Assembly: DigitalRune.Geometry (in DigitalRune.Geometry.dll) Version: 1.18.0.0 (1.18.2.14427)
Syntax
public bool Get(
	CollisionObject objectA,
	CollisionObject objectB
)

Parameters

objectA
Type: DigitalRune.Geometry.CollisionsCollisionObject
The first collision object.
objectB
Type: DigitalRune.Geometry.CollisionsCollisionObject
The second collision object.

Return Value

Type: Boolean
if collisions between the given CollisionObject pair are enabled; otherwise .

Implements

ICollisionFilterGet(CollisionObject, CollisionObject)
Remarks
This method checks only the flag that was set with Set(CollisionObject, CollisionObject, Boolean). It is not tested whether collisions are disabled between the collision groups.
See Also