pub type DefaultBroadPhase = BroadPhaseBvh;Expand description
The default broad-phase implementation recommended for general-purpose usage.
Aliased Type§
pub struct DefaultBroadPhase {
pub adaptive_change_detection_margin: bool,
/* private fields */
}Fields§
§adaptive_change_detection_margin: boolIf enabled, each tree leaf’s change-detection margin adapts to the collider’s size
(12.5% of its smallest AABB extent, capped) instead of a fixed fraction of the
length unit (default: false). Large shapes then keep their leaf and candidate
pairs valid across bigger displacements — fewer tree updates and pair re-checks,
at the cost of slightly fatter AABBs (more candidate pairs for the narrow-phase).