PhysicsEngineCollides Method (IListPhysicsGroup, IListPhysicsGroup) | 
 
            Whether physics objects prescribing to any of the groups in
            groupListA are tested for collisions against physics objects
            prescribing to any of the groups in groupListB.
            
 
    Namespace: 
   Demo3D.Visuals
    Assembly:
   Demo3D.Core (in Demo3D.Core.dll) Version: 18.03.00
Syntaxpublic bool Collides(
	IList<PhysicsGroup> groupListA,
	IList<PhysicsGroup> groupListB
)
Parameters
- groupListA
 - Type: System.Collections.GenericIListPhysicsGroup
The first group list. - groupListB
 - Type: System.Collections.GenericIListPhysicsGroup
The second group list. 
Return Value
Type: 
BooleanTrue if any of the groups in the first group list are specified to collide with any of the groups in the second group list, false otherwise.
Remarks
            This method effectively computes the boolean OR of the cartesian product of the two
            group lists. For example, Collides([A, B], [C, D]) is true if and only if Collides(A, C)
            OR Collides(A, D) OR Collides(B, C) OR Collides(B, D).
            
See Also