Now my physics actually work, save for some edge cases which will mysteriously never appear in the level designs