We will completely separate the broad phase from the narrow phase of collision detection and resolution. The broad phase will be responsible for finding possible collision "pairs" for physics bodies. The narrow phase will then be responsible for actually determining if the bodies are intersecting and then resolve the collision.
Source Code:
Flat Physics: https://github.com/twobitcoder101/FlatPhysics-part-22
Flat: https://github.com/twobitcoder101/Flat
Time Codes:
0:00 - Intro
0:54 - Description of the Broad Phase
1:28 - Performance Baseline 1
2:26 - Removal of "ContactPointsList"
3:19 - Performance Baseline 2
3:44 - Broad Phase & Narrow Phase Functions
6:58 - Contact Pairs & the Broad Phase
9:45 - Narrow Phase
11:49 - Performance Test
12:39 - Conclusion & Road Map
Download
0 formats
No download links available.
Broad Phase & Narrow Phase - Let's Make a Physics Engine [22] | NatokHD