Is there any way to be able to move/pull an NPC humanoid during the game?

  1. I’m trying to figure out a way to make it so an enemy humanoid is pulled to a part (which I’ll call gravPart for the sake of simplicity) while that part exists.

  2. I’m unsure on how to slowly move the humanoid, the only way to actually move it is to create a buggy teleportation of the humanoid PrimaryPart’s CFrame to the gravPart doing something like:

char.PrimaryPart.Anchored = true
char.PrimaryPart.CFrame = gravPart.CFrame

this allows a means of teleporting the enemy, however, that is not my true goal and I want to make it so the enemy slowly gets dragged into the gravPart. Not only that, when I do use this method, the enemy’s movement is bugged after use for whatever reason (it seems as if they fall to the ground and their lower half just collides with it)

image

  1. I’ve tried lerping, but it does absolutely nothing. I’ve looked for solutions on the developer hub but there was only one related topic and it was mostly on teleporting the humanoid of the enemy to a different area.

Try AlignPosition?

Thanks! I hadn’t even heard of AlignPosition before you suggested it but now that I know what it is, it’s incredibly useful and solves my issue.

Love to hear it, good luck with your thing.