-
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.
-
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)
- 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.