Click or drag to resize

PhysicsEngineCollide Method (BBox, IListPhysicsGroup, Boolean)

Finds all physics bodies prescribed to any of the groups specified in the group list that are intersecting the specified bounding box.

Namespace:  Demo3D.Visuals
Assembly:  Demo3D.Core (in Demo3D.Core.dll) Version: 15.0.2.11458
Syntax
C#
public IList<PhysicsBody> Collide(
	BBox bounds,
	IList<PhysicsGroup> groups,
	bool updateAabbs
)

Parameters

bounds
Type: Demo3D.VisualsBBox
The bounding box.
groups
Type: System.Collections.GenericIListPhysicsGroup
The group list containing groups that the intersecting 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: IListPhysicsBody
List of physics bodies that are intersecting with the specified bounding box and that are prescribed to one or more of the groups in the specified group list.
See Also