[1.12][Bug] Spiders struggle when surrounded by blocks that have irregular hitboxes, such as fences.
SandwichHorror opened this issue ยท 2 comments
I deliberately set up a weird pattern of fences to see if I could bork the climbing AI, and unfortunately I succeeded. When stuck between a few fences with a fence directly above, the spider began turning around and around on itself. As far as I could tell, it wasn't spinning (like with invalid pathing), but simply glitching out due to attempting to climb and not being able to deal with the weird fence hitboxes.
Mhm, there are also some other situations where they get stuck e.g. in 1 block tall corridors. This is probably because the orientation of the spiders is purely reactive, i.e. it's based on the spider's position and doesn't depend on the previous orientation. I've already made some WIP code to address this, but it makes the orientation react slightly slower to the environment, so not yet sure whether I'm going to actually use it. May also be a problem with the pathfinder though.