Refactor physics

Tank code is a lot less janky.  I also cleaned up some of the collision stuff althought we'll probably have to come back to that at some point.