Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

Pathfinding Humanoid will only follow path.. if it doesn't have legs?

Asked by 6 years ago

I've been trying to set up a click-to-move/controllable Humanoid AI for a game I'm working on, and I've ran into a weird problem - The Humanoid model will only follow path/MoveTo... if it doesn't have legs. It seems to be some weird thing where, if the model is in the air it seems to not want to follow the MoveTo, and if it has legs it seems to think it's in the air. I've tried various methods of welding the legs to the Torso, and even used the Animation Editor's human model to see if the legs just needed to be properly welded for it to not think it's mid-air, but that's not worked. I've used MoveTo plenty before, so i'm confused why when paired with pathfinding it seemingly refuses to move unless the Torso is touching the ground.

Since it's just as likely a Model problem as it is a script problem, and there are multiple scripts, I've included a model with everything I was using - Put the GUI in starterGUI, and it should work. Right click anywhere and the Legless model will move to where you click, where as the model with legs will simply refuse to do anything at all.

https://www.roblox.com/library/1486875401/big-ol-broken-AI

No errors, a bit of Output spam do to a print I should probably remove though. Anyone know why this is happening?

0
rip Maxwell_Edison 105 — 6y

Answer this question