The Axis-Aligned Bounding Box - Let's Make a Physics Engine [13]

Let's create an axis-aligned bounding box for each body. This will give a general idea of where the bodies exist in the 2D world and eventually help with making fewer collision checks and loops. Source code (github): Flat: https://github.com/twobitcoder101/Flat FlatPhysics: https://github.com/twobitcoder101/Fla...