basic collision detection & world switching