C# (CSharp) BEPUphysics.BroadPhaseSystems.SortAndSweep Grid2DSortAndSweep - 8 examples found. These are the top rated real world C# (CSharp) examples of BEPUphysics.BroadPhaseSystems.SortAndSweep.Grid2DSortAndSweep extracted from open source projects. You can rate examples to help us improve the quality of examples.
Broad phase implementation that partitions objects into a 2d grid, and then performs a sort and sweep on the final axis.
This broad phase typically has very good collision performance and scales well with multithreading, but its query times can sometimes be worse than tree-based systems since it must scan cells. Keeping rays as short as possible helps avoid unnecessary cell checks. The performance can degrade noticeably in some situations involving significant off-axis motion.