More progress with collision detection and slopes