Add wonky physics detection

It doesn't match up with the graphics yet, but it seems to be working to
some extent