PhysicsEngineCollide Method (PhysicsBody, IListPhysicsGroup, Boolean) | 
 
            Finds all physics objects prescribed to any of the groups specified in the group list
            that are colliding with the specified body.
            
 
    Namespace: 
   Demo3D.Visuals
    Assembly:
   Demo3D.Core (in Demo3D.Core.dll) Version: 18.03.00
Syntaxpublic IList<PhysicsBody> Collide(
	PhysicsBody body,
	IList<PhysicsGroup> groups,
	bool updateAabbs
)
Parameters
- body
 - Type: Demo3D.VisualsPhysicsBody
The physics object to check for collisions against. - groups
 - Type: System.Collections.GenericIListPhysicsGroup
The group list containing groups that the colliding physics bodies must be prescribed to one or more of. - updateAabbs
 - Type: SystemBoolean
Whether to update the AABBs for all active bodies before finding collisions. 
Return Value
Type: 
IListPhysicsBodyList of physics bodies that are colliding with the specified body and that are prescribed to one or more of the groups in the specified group list.
Remarks
            This method looks for any bodies that are prescribed to one or more groups in the
            provided groups list and that are colliding with the specified body. The usual group
            filtering is ignored.
            
See Also