NPC pathfinding not really working how I want it to

I’ve been making a big spider dude that uses pathfinding to chase players. Instead of moving straight though, the NPC wobbles side to side, which really isn’t what I want.

robloxapp-20211215-0827496.wmv (3.9 MB)

My best guess is that it’s trying to pathfind around its own legs. The legs use procedural animation for a more “realistic” look, but they seem to be the problem in this situation.
I’ve tried adding PathfindingModifiers with PassThrough onto parts of the body, adding a part covering the body with a PathfindingModifiers with PassThrough, but I don’t think I’m looking in the right place.