Almost fully working collisions and everything