dimforge / rapier

2D and 3D physics engines focused on performance.
https://rapier.rs
Apache License 2.0
3.77k stars 235 forks source link

feat: add support for custom broad-phases #606

Closed sebcrozet closed 3 months ago

sebcrozet commented 3 months ago

This adds the BroadPhase trait that can be implemented manually to provide a custom broad-phase implementation. To avoid naming conflict, the current broad-phase was renamed to BroadPhaseMultiSap. The DefaultBroadPhase alias can be used too.

Fix #590 Close #530