PhysicsEngineCollide Method (BSphere, PhysicsGroup, Boolean) | 
 
            Finds all physics bodies prescribed to the specified group that are
            intersecting the specified bounding sphere.
            
 
    Namespace: 
   Demo3D.Visuals
    Assembly:
   Demo3D.Core (in Demo3D.Core.dll) Version: 18.03.00
Syntaxpublic IList<PhysicsBody> Collide(
	BSphere bounds,
	PhysicsGroup group,
	bool updateAabbs
)
Parameters
- bounds
 - Type: Demo3D.VisualsBSphere
The bounding sphere. - group
 - Type: Demo3D.VisualsPhysicsGroup
The group that any intersecting physics bodies must be prescribed to. - updateAabbs
 - Type: SystemBoolean
Whether to update the AABBs for all active bodies before finding collisions. 
Return Value
Type: 
IListPhysicsBodyList of physics bodies that are intersecting with the specified bounding sphere and that are prescribed to the specified group.
See Also