Changing the physics engine. My solution relies solely on segment intersection to detect collision, which makes handling corners troublesome. Plus circles are approximated using polygons, which I find a bit limiting. So instead I've decided to go with a classic impulse resolver.
#pico8 #gamedev