I made a simple 2D physics engine, which supports interactions between a dynamic circle and static aabb objects. I made it to be as simple as possible so that it could be easily extended. Click green flag to randomly generate new rectangles
This is similar to griffpatch's impulse 2D and that's because we used the same tutorial by Randy Gaul. However I've purposefully reduced the complexity since I don't need the extra features for my games. I implemented friction in a hacky way so i'll need to fix that soon. If you want to turn it off set the friction coefficient (μ) to 0. ---------------------- updates --------------- 10/07 - Fixed the collision system to support stadium-AABB collisions eliminates the possibility for the ball passing through walls at high speeds.