So I am trying to make a Tower Defense game, and I have this simple NPC:
(simple r15 rig with modified colors)
and I am trying to call MoveTo on the humanoid, but for some reason it’s not working.
I have tried multiple things that were listed online, but none of them have seen to work so far.
It’s literally not moving, even though I literally did what was listed here .
My code is simply:
Did you check that all of the parts are un-anchored? If you generated the NPC with the animation rig builder plugin the HumanoidRootPart is anchored by default.
I would recommend looking for the Humanoid manually with either FindFirstChild or WaitForChild just due to the fact that you don’t always know that the humanoid can be the first index in the character.
This could prevent any potential errors later down the line.
This worked. I generated my rig using the Rig Builder plugin. For some reason the “HumanoidRootPart” was anchored by default. Un-anchoring this did the trick.