Click or drag to resize
DigitalRuneCollisionDomainBroadPhase Property

Namespace: DigitalRune.Geometry.Collisions
Assembly: DigitalRune.Geometry (in DigitalRune.Geometry.dll) Version: 1.18.0.0 (1.18.2.14427)
Syntax
public ISpatialPartition<CollisionObject> BroadPhase { get; set; }

Property Value

Type: ISpatialPartitionCollisionObject
The broad phase spatial partitioning method. The default value is an instance of SweepAndPruneSpaceT.
Exceptions
ExceptionCondition
ArgumentNullExceptionvalue is .
Remarks

Collision detection with a CollisionDomain works in two phases:

  • In the broad phase object pairs which cannot collide are sorted out using a spatial partitioning method.
  • In the narrow phase the collision info (contact positions, normal vectors, etc.) is computed.

See Also