It's mainly the pet, the spiders can do it but not as common, they seem to have some scripted pathing.
With the pet, if you run around a corner the pet will ignore the corner and continue following you in a straight line. When it goes through the wall it bounces to the surface and eventually warps back down.
|