| CollisionDomainBroadPhase Property |
Gets or sets the
ISpatialPartitionT that is used for the broad phase of
the collision detection.
Namespace: DigitalRune.Geometry.CollisionsAssembly: DigitalRune.Geometry (in DigitalRune.Geometry.dll) Version: 1.18.0.0 (1.18.2.14427)
Syntax public ISpatialPartition<CollisionObject> BroadPhase { get; set; }
Public Property BroadPhase As ISpatialPartition(Of CollisionObject)
Get
Set
public:
property ISpatialPartition<CollisionObject^>^ BroadPhase {
ISpatialPartition<CollisionObject^>^ get ();
void set (ISpatialPartition<CollisionObject^>^ value);
}
member BroadPhase : ISpatialPartition<CollisionObject> with get, set
Property Value
Type:
ISpatialPartitionCollisionObject
The broad phase spatial partitioning method. The default value is an instance of
SweepAndPruneSpaceT.
Exceptions 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