Collision detection with level design