I've had several "escapes" that aren't really escapes, just animals climbing a tree or going into a cave. In both cases the animal was still inside the bounds of the habitat on the horizontal plane, just extended up or down vertically beyond the top or bottom of the walls.
It seems to me that for purposes of checking if an animal is still inside the habitat, the barriers should essentially be considered infinitely tall extending in both directions. Only the horizontal plane (XZ) should be checked.
It seems to me that for purposes of checking if an animal is still inside the habitat, the barriers should essentially be considered infinitely tall extending in both directions. Only the horizontal plane (XZ) should be checked.