Click or drag to resize

PhysicsEngineCollide(BBox, PhysicsGroup, Boolean) Method

Finds all physics bodies prescribed to the specified group that are intersecting the specified bounding box.

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

Parameters

bounds  BBox
The bounding box.
group  PhysicsGroup
The group that any intersecting physics bodies must be prescribed to.
updateAabbs  Boolean
Whether to update the AABBs for all active bodies before finding collisions.

Return Value

IListPhysicsBody
List of physics bodies that are intersecting with the specified bounding box and that are prescribed to the specified group.
See Also